Skip to content

Commit 3a296d3

Browse files
committed
Add solc.features.* listing
1 parent 5e938f2 commit 3a296d3

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
@@ -230,6 +230,11 @@ function setupMethods (soljson) {
230230
compileCallback: compileJSONCallback,
231231
compileStandard: compileStandard
232232
},
233+
features: {
234+
multipleInputs: compileJSONMulti !== null || compileStandard !== null,
235+
importCallback: compileJSONCallback !== null || compileStandard !== null,
236+
nativeStandardJSON: compileStandard !== null
237+
},
233238
compile: compile,
234239
compileStandard: compileStandard,
235240
compileStandardWrapper: compileStandardWrapper,

0 commit comments

Comments
 (0)