[Wasm] Add @JsFun diagnostics (KT-56944)

JsFun target should be top-level external function
This commit is contained in:
Svyatoslav Kuzmich
2023-02-20 14:30:52 +01:00
committed by Space Team
parent 1da96213ca
commit 4be2f53b47
6 changed files with 67 additions and 0 deletions
@@ -56,6 +56,12 @@ public class DiagnosticsWasmTestGenerated extends AbstractDiagnosticsWasmTest {
public void testJsExport() throws Exception {
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsExport.kt");
}
@Test
@TestMetadata("jsFun.kt")
public void testJsFun() throws Exception {
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/jsFun.kt");
}
}
@Nested