Merge pull request #862 from ethereum/AnalyzerCompilationIssue

Analyzer compilation issue
pull/860/head
yann300 4 years ago committed by GitHub
commit c967ba9703
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/remix-ide/src/app/tabs/analysis-tab.js

@ -28,7 +28,7 @@ class AnalysisTab extends ViewPlugin {
} }
render () { render () {
if (!this.staticanalysis) this.staticanalysis = new StaticAnalysis(this.registry, this) this.staticanalysis = new StaticAnalysis(this.registry, this)
this.staticanalysis.event.register('staticAnaysisWarning', (count) => { this.staticanalysis.event.register('staticAnaysisWarning', (count) => {
if (count > 0) { if (count > 0) {
this.emit('statusChanged', { key: count, title: `${count} warning${count === 1 ? '' : 's'}`, type: 'warning' }) this.emit('statusChanged', { key: count, title: `${count} warning${count === 1 ? '' : 's'}`, type: 'warning' })

Loading…
Cancel
Save