FIR2IR: create local classes on the fly properly

This commit is contained in:
Mikhail Glukhikh
2021-10-29 16:27:19 +03:00
committed by teamcity
parent a05244eca1
commit 67a05883d6
17 changed files with 516 additions and 67 deletions
@@ -1738,6 +1738,11 @@ public class KlibTextTestCaseGenerated extends AbstractKlibTextTestCase {
runTest("compiler/testData/ir/irText/firProblems/FirBuilder.kt");
}
@TestMetadata("FlushFromAnonymous.kt")
public void testFlushFromAnonymous() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/FlushFromAnonymous.kt");
}
@TestMetadata("ImplicitReceiverStack.kt")
public void testImplicitReceiverStack() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/ImplicitReceiverStack.kt");
@@ -1758,6 +1763,11 @@ public class KlibTextTestCaseGenerated extends AbstractKlibTextTestCase {
runTest("compiler/testData/ir/irText/firProblems/kt43342.kt");
}
@TestMetadata("localClassUsedBeforeDeclaration.kt")
public void testLocalClassUsedBeforeDeclaration() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/localClassUsedBeforeDeclaration.kt");
}
@TestMetadata("readWriteProperty.kt")
public void testReadWriteProperty() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/readWriteProperty.kt");