[Wasm] Fix access to WebIDL dictionary members
Evaluate external interface companion objects as an empty JS object instead of null due to null checks on interop boundary. ^KT-59082 Fixed
This commit is contained in:
committed by
Space Team
parent
92de137cd6
commit
384c700a85
+6
@@ -115,6 +115,12 @@ public class FirWasmCodegenWasmJsInteropTestGenerated extends AbstractFirWasmCod
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kotlinToJsAdapters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59082.kt")
|
||||
public void testKt59082() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kt59082.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaAdapterNameClash.kt")
|
||||
public void testLambdaAdapterNameClash() throws Exception {
|
||||
|
||||
+6
@@ -115,6 +115,12 @@ public class K1WasmCodegenWasmJsInteropTestGenerated extends AbstractK1WasmCodeg
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kotlinToJsAdapters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59082.kt")
|
||||
public void testKt59082() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/kt59082.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaAdapterNameClash.kt")
|
||||
public void testLambdaAdapterNameClash() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user