Update compileTab.js

pull/1/head
yann300 5 years ago committed by GitHub
parent 87328aa73c
commit c712e01999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/app/tabs/compileTab/compileTab.js

@ -45,7 +45,11 @@ class CompileTab {
this.queryParams.update({ evmVersion: this.evmVersion }) this.queryParams.update({ evmVersion: this.evmVersion })
this.compiler.setEvmVersion(this.evmVersion) this.compiler.setEvmVersion(this.evmVersion)
} }
/**
* Set the compiler to using Solidity or Yul (default to Solidity)
* @params lang {'Solidity' | 'Yul'} ...
*/
setLanguage (lang) { setLanguage (lang) {
this.compiler.setLanguage(lang) this.compiler.setLanguage(lang)
} }

Loading…
Cancel
Save