JVM IR: erase parameter default value when copying it to bridge

#KT-48391 Fixed
This commit is contained in:
Alexander Udalov
2021-09-02 23:39:44 +02:00
parent bcafece28e
commit a06fc20680
12 changed files with 73 additions and 14 deletions
@@ -9189,6 +9189,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/defaultArguments/kt47073_nested.kt");
}
@TestMetadata("kt48391.kt")
public void testKt48391() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/kt48391.kt");
}
@TestMetadata("kt6382.kt")
public void testKt6382() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/kt6382.kt");
@@ -8595,6 +8595,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/defaultArguments/kt47073_nested.kt");
}
@TestMetadata("kt48391.kt")
public void testKt48391() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/kt48391.kt");
}
@TestMetadata("kt6382.kt")
public void testKt6382() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/kt6382.kt");
@@ -8575,6 +8575,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/defaultArguments/kt47073_nested.kt");
}
@TestMetadata("kt48391.kt")
public void testKt48391() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/kt48391.kt");
}
@TestMetadata("kt6382.kt")
public void testKt6382() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/kt6382.kt");
@@ -4100,6 +4100,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/defaultArguments/kt47073_nested.kt");
}
@TestMetadata("kt48391.kt")
public void testKt48391() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/kt48391.kt");
}
@TestMetadata("kt6382.kt")
public void testKt6382() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/kt6382.kt");