[Wasm] Allow implementing function interfaces in the new test infra

Make it consistent with CLI and old test infra
This commit is contained in:
Svyatoslav Kuzmich
2023-05-18 10:40:08 +02:00
parent 736519c506
commit b503eafcb2
@@ -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) }
}