PSI2IR KT-44855 propagate smart cast information for property values

This commit is contained in:
Dmitry Petrov
2021-07-29 15:30:07 +03:00
committed by teamcityserver
parent cdbd0eb932
commit ca5ebdc13c
12 changed files with 322 additions and 5 deletions
@@ -41319,6 +41319,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@Test
@TestMetadata("kt44855.kt")
public void testKt44855() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor/kt44855.kt");
}
@Test
@TestMetadata("kt44855a.kt")
public void testKt44855a() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor/kt44855a.kt");
}
@Test
@TestMetadata("kt46578_anonObject.kt")
public void testKt46578_anonObject() throws Exception {
@@ -41421,6 +41421,18 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("kt44855.kt")
public void testKt44855() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor/kt44855.kt");
}
@Test
@TestMetadata("kt44855a.kt")
public void testKt44855a() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/protectedJavaFieldAccessor/kt44855a.kt");
}
@Test
@TestMetadata("kt46578_anonObject.kt")
public void testKt46578_anonObject() throws Exception {
@@ -2484,6 +2484,12 @@ public class IrTextTestGenerated extends AbstractIrTextTest {
runTest("compiler/testData/ir/irText/regressions/kt24114.kt");
}
@Test
@TestMetadata("kt44855.kt")
public void testKt44855() throws Exception {
runTest("compiler/testData/ir/irText/regressions/kt44855.kt");
}
@Test
@TestMetadata("kt45236.kt")
public void testKt45236() throws Exception {