FIR2IR: fix smart casts in case field is accessed

This commit is contained in:
Mikhail Glukhikh
2021-01-25 13:49:40 +03:00
parent 1c9064836e
commit 1a4b327210
8 changed files with 189 additions and 6 deletions
@@ -2140,6 +2140,12 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
runTest("compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.kt");
}
@Test
@TestMetadata("JCTree.kt")
public void testJCTree() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/JCTree.kt");
}
@Test
@TestMetadata("kt43342.kt")
public void testKt43342() throws Exception {