K2: reproduce & add test for KT-56511

This commit is contained in:
Mikhail Glukhikh
2023-02-08 17:44:45 +01:00
committed by Space Team
parent e75fac271d
commit 0b31e5ad63
6 changed files with 54 additions and 0 deletions
@@ -30180,6 +30180,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastAndArgumentApproximation.kt");
}
@Test
@TestMetadata("smartCastOnAlienPropertyFromInnerClass.kt")
public void testSmartCastOnAlienPropertyFromInnerClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnAlienPropertyFromInnerClass.kt");
}
@Test
@TestMetadata("smartCastOnElvis.kt")
public void testSmartCastOnElvis() throws Exception {