Skip to content

Commit 3a1f77d

Browse files
authored
Merge pull request #290 from ethereum/features
Add solc.features.* listing
2 parents 9107b70 + 3a296d3 commit 3a1f77d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

wrapper.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,11 @@ function setupMethods (soljson) {
231231
compileCallback: compileJSONCallback,
232232
compileStandard: compileStandard
233233
},
234+
features: {
235+
multipleInputs: compileJSONMulti !== null || compileStandard !== null,
236+
importCallback: compileJSONCallback !== null || compileStandard !== null,
237+
nativeStandardJSON: compileStandard !== null
238+
},
234239
compile: compile,
235240
compileStandard: compileStandard,
236241
compileStandardWrapper: compileStandardWrapper,

0 commit comments

Comments
 (0)