-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve compiler api #2876
improve compiler api #2876
Conversation
39b98a4
to
992a63d
Compare
@@ -32,6 +32,10 @@ module.exports = class CompilerArtefacts extends Plugin { | |||
this.on('lexon', 'compilationFinished', (file, source, languageVersion, data) => { | |||
this.compilersArtefacts['__last'] = new CompilerAbstract(languageVersion, data, source) | |||
}) | |||
|
|||
this.on('yupl', 'compilationFinished', (file, source, languageVersion, data) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/app/tabs/compile-tab.js
Outdated
this.compilerContainer.setLanguage(settings.language) | ||
this.compilerContainer.setEvmVersion(settings.evmVersion) | ||
this.compilerContainer.setOptimize(settings.optimize) | ||
this.compilerContainer.setVersion(settings.version) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sould maybe compilerContainer has setSettings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes sure, the thing is that these methods were already existing before
fix https://github.com/ethereum/remix-ide/issues/2712
partly_fix https://github.com/ethereum/remix-ide/issues/2854
compileWithParameters
andsetCompilerConfig
plugin API