[IR BE] Remap references in default arg value in inner class constructor
Make sure that there is no reference into zombie declarations. - fix KT-40771 - add test
This commit is contained in:
Generated
+5
@@ -13055,6 +13055,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/innerNested/innerSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("innerWithDefaultArgument.kt")
|
||||
public void testInnerWithDefaultArgument() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/innerNested/innerWithDefaultArgument.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt3132.kt")
|
||||
public void testKt3132() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/innerNested/kt3132.kt");
|
||||
|
||||
Generated
+5
@@ -13055,6 +13055,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/innerNested/innerSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("innerWithDefaultArgument.kt")
|
||||
public void testInnerWithDefaultArgument() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/innerNested/innerWithDefaultArgument.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt3132.kt")
|
||||
public void testKt3132() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/innerNested/kt3132.kt");
|
||||
|
||||
+5
@@ -13120,6 +13120,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/innerNested/innerSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("innerWithDefaultArgument.kt")
|
||||
public void testInnerWithDefaultArgument() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/innerNested/innerWithDefaultArgument.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt3132.kt")
|
||||
public void testKt3132() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/innerNested/kt3132.kt");
|
||||
|
||||
Reference in New Issue
Block a user