pull/2163/head
yann300 3 years ago committed by GitHub
parent 66673241db
commit 60ea0b4b33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/solidity-compiler/src/app/compiler-api.ts

@ -293,7 +293,7 @@ export const CompilerApiMixin = (Base) => class extends Base {
if (this.onCompilationFinished) this.onCompilationFinished(this.compilationDetails) if (this.onCompilationFinished) this.onCompilationFinished(this.compilationDetails)
// set annotations // set annotations
if (data.errors) { if (data.errors) {
for (let error of data.errors) { for (const error of data.errors) {
let pos = helper.getPositionDetails(error.formattedMessage) let pos = helper.getPositionDetails(error.formattedMessage)
if (pos.errFile) { if (pos.errFile) {
pos = { pos = {

Loading…
Cancel
Save