[Wasm] Allow implementing function interfaces in the new test infra
Make it consistent with CLI and old test infra
This commit is contained in:
+4
@@ -127,6 +127,10 @@ class LanguageVersionSettingsBuilder {
|
||||
specificFeatures[LanguageFeature.JsAllowValueClassesInExternals] = LanguageFeature.State.ENABLED
|
||||
}
|
||||
|
||||
if (targetBackend == TargetBackend.WASM) {
|
||||
specificFeatures[LanguageFeature.JsAllowImplementingFunctionInterface] = LanguageFeature.State.ENABLED
|
||||
}
|
||||
|
||||
directives[LanguageSettingsDirectives.LANGUAGE].forEach { parseLanguageFeature(it) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user