FIR: Fix safe call receiver nullability after null check

This commit is contained in:
Denis.Zharkov
2021-10-22 19:59:09 +03:00
parent 2a8eacd4ba
commit 4b1ce6c1a7
7 changed files with 47 additions and 1 deletions
@@ -17269,6 +17269,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/j+k/recursiveRawUpperBound3.kt");
}
@Test
@TestMetadata("safeCallDefinitelyNotNull.kt")
public void testSafeCallDefinitelyNotNull() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/safeCallDefinitelyNotNull.kt");
}
@Test
@TestMetadata("samInConstructorWithGenerics.kt")
public void testSamInConstructorWithGenerics() throws Exception {
@@ -17269,6 +17269,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/j+k/recursiveRawUpperBound3.kt");
}
@Test
@TestMetadata("safeCallDefinitelyNotNull.kt")
public void testSafeCallDefinitelyNotNull() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/safeCallDefinitelyNotNull.kt");
}
@Test
@TestMetadata("samInConstructorWithGenerics.kt")
public void testSamInConstructorWithGenerics() throws Exception {