[WasmJs] Prohibit external classes to be a storage of an associated objects

Fix #KT-65355
This commit is contained in:
Igor Yakovlev
2024-01-27 02:23:04 +01:00
parent 6930fc8fed
commit 324d079111
13 changed files with 116 additions and 2 deletions
@@ -39,6 +39,12 @@ public class DiagnosticsFirWasmTestGenerated extends AbstractDiagnosticsFirWasmT
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/anonymousInitializer.kt");
}
@Test
@TestMetadata("associatedObjects.kt")
public void testAssociatedObjects() {
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/associatedObjects.kt");
}
@Test
@TestMetadata("body.kt")
public void testBody() {
@@ -39,6 +39,12 @@ public class DiagnosticsWasmTestGenerated extends AbstractDiagnosticsWasmTest {
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/anonymousInitializer.kt");
}
@Test
@TestMetadata("associatedObjects.kt")
public void testAssociatedObjects() {
runTest("compiler/testData/diagnostics/wasmTests/jsInterop/associatedObjects.kt");
}
@Test
@TestMetadata("body.kt")
public void testBody() {