[Wasm] Fix js interop closure signature

Before we used IrType.render() which is not unique.
This changes adds a proper serialization of adapter signature to string.
This commit is contained in:
Svyatoslav Kuzmich
2023-03-17 18:10:44 +01:00
committed by Space Team
parent e99b453816
commit 1b7c63bd49
4 changed files with 71 additions and 27 deletions
@@ -105,6 +105,11 @@ public class IrCodegenWasmJsInteropWasmTestGenerated extends AbstractIrCodegenWa
runTest("compiler/testData/codegen/boxWasmJsInterop/kotlinToJsAdapters.kt");
}
@TestMetadata("lambdaAdapterNameClash.kt")
public void testLambdaAdapterNameClash() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/lambdaAdapterNameClash.kt");
}
@TestMetadata("longStrings.kt")
public void testLongStrings() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/longStrings.kt");