[Wasm] Add @JsFun diagnostics (KT-56944)
JsFun target should be top-level external function
This commit is contained in:
committed by
Space Team
parent
1da96213ca
commit
4be2f53b47
+6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user