Unverified Commit c712e019 authored by yann300's avatar yann300 Committed by GitHub

Update compileTab.js

parent 87328aa7
...@@ -46,6 +46,10 @@ class CompileTab { ...@@ -46,6 +46,10 @@ class CompileTab {
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)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment