From c712e019991dc079df5a12df24e4aafc90b04b03 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 19 Jun 2019 09:39:56 +0200 Subject: [PATCH] Update compileTab.js --- src/app/tabs/compileTab/compileTab.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) }