JVM_IR: move classes out of lambdas inlined into initializers

Fixes KT-41465
This commit is contained in:
pyos
2020-08-31 13:12:58 +02:00
committed by Alexander Udalov
parent 9775a2148a
commit 6b65a2ea7d
9 changed files with 69 additions and 6 deletions
@@ -23521,6 +23521,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/secondaryConstructors/generics.kt");
}
@TestMetadata("inlineIntoTwoConstructors.kt")
public void testInlineIntoTwoConstructors() throws Exception {
runTest("compiler/testData/codegen/box/secondaryConstructors/inlineIntoTwoConstructors.kt");
}
@TestMetadata("innerClasses.kt")
public void testInnerClasses() throws Exception {
runTest("compiler/testData/codegen/box/secondaryConstructors/innerClasses.kt");
@@ -23521,6 +23521,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/secondaryConstructors/generics.kt");
}
@TestMetadata("inlineIntoTwoConstructors.kt")
public void testInlineIntoTwoConstructors() throws Exception {
runTest("compiler/testData/codegen/box/secondaryConstructors/inlineIntoTwoConstructors.kt");
}
@TestMetadata("innerClasses.kt")
public void testInnerClasses() throws Exception {
runTest("compiler/testData/codegen/box/secondaryConstructors/innerClasses.kt");
@@ -23536,6 +23536,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/secondaryConstructors/generics.kt");
}
@TestMetadata("inlineIntoTwoConstructors.kt")
public void testInlineIntoTwoConstructors() throws Exception {
runTest("compiler/testData/codegen/box/secondaryConstructors/inlineIntoTwoConstructors.kt");
}
@TestMetadata("innerClasses.kt")
public void testInnerClasses() throws Exception {
runTest("compiler/testData/codegen/box/secondaryConstructors/innerClasses.kt");