JVM IR: Start fake variables for default lambdas after initialization

KT-52702
This commit is contained in:
Steven Schäfer
2022-06-09 14:05:50 +02:00
committed by Alexander Udalov
parent 08f18c2940
commit 194a1d1c6a
10 changed files with 73 additions and 4 deletions
@@ -10239,6 +10239,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/defaultArguments/kt48391.kt");
}
@Test
@TestMetadata("kt52702.kt")
public void testKt52702() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/kt52702.kt");
}
@Test
@TestMetadata("kt6382.kt")
public void testKt6382() throws Exception {
@@ -10281,6 +10281,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/defaultArguments/kt48391.kt");
}
@Test
@TestMetadata("kt52702.kt")
public void testKt52702() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/kt52702.kt");
}
@Test
@TestMetadata("kt6382.kt")
public void testKt6382() throws Exception {
@@ -9103,6 +9103,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/defaultArguments/kt48391.kt");
}
@TestMetadata("kt52702.kt")
public void testKt52702() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/kt52702.kt");
}
@TestMetadata("kt6382.kt")
public void testKt6382() throws Exception {
runTest("compiler/testData/codegen/box/defaultArguments/kt6382.kt");