FIR: Fix safe call receiver nullability after null check
This commit is contained in:
+6
@@ -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 {
|
||||
|
||||
+6
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user