We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be32d4a commit 63c2d40Copy full SHA for 63c2d40
wrapper.js
@@ -180,7 +180,11 @@ function setupMethods (soljson) {
180
}
181
182
// Try our luck with an ancient compiler
183
- return translateOutput(compileJSON(sources[Object.keys(sources)[0]], isOptimizerEnabled(input)), libraries);
+ if (compileJSON !== null) {
184
+ return translateOutput(compileJSON(sources[Object.keys(sources)[0]], isOptimizerEnabled(input)), libraries);
185
+ }
186
+
187
+ return formatFatalError('Compiler does not support any known interface.');
188
};
189
190
var version;
0 commit comments