diff --git a/src/app/tabs/compileTab/compileTab.js b/src/app/tabs/compileTab/compileTab.js index bdb13e522b..60b7fcfd4e 100644 --- a/src/app/tabs/compileTab/compileTab.js +++ b/src/app/tabs/compileTab/compileTab.js @@ -45,7 +45,11 @@ class CompileTab { this.queryParams.update({ evmVersion: this.evmVersion }) this.compiler.setEvmVersion(this.evmVersion) } - + + /** + * Set the compiler to using Solidity or Yul (default to Solidity) + * @params lang {'Solidity' | 'Yul'} ... + */ setLanguage (lang) { this.compiler.setLanguage(lang) }