[FE 1.0] Make type of safe call always nullable

^KT-46860 In Progress
This commit is contained in:
Dmitriy Novozhilov
2021-06-21 15:06:06 +03:00
committed by teamcityserver
parent 805fad980f
commit 26b9948e5f
10 changed files with 86 additions and 6 deletions
@@ -27416,6 +27416,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/smartCasts/safecalls/safeAccessReceiverNotNull.kt");
}
@Test
@TestMetadata("safeCallIsAlwaysNullable.kt")
public void testSafeCallIsAlwaysNullable() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/safecalls/safeCallIsAlwaysNullable.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -27416,6 +27416,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/smartCasts/safecalls/safeAccessReceiverNotNull.kt");
}
@Test
@TestMetadata("safeCallIsAlwaysNullable.kt")
public void testSafeCallIsAlwaysNullable() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/safecalls/safeCallIsAlwaysNullable.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {