Report warnings on safe call + nullable extension operator

^KT-41034 In Progress
This commit is contained in:
Denis Zharkov
2020-08-14 11:12:13 +03:00
parent 852d22470e
commit 5ede37d6ab
10 changed files with 270 additions and 8 deletions
@@ -15821,6 +15821,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/nullableTypes/safeCallOnTypeWithNullableUpperBound.kt");
}
@TestMetadata("safeCallOperators.kt")
public void testSafeCallOperators() throws Exception {
runTest("compiler/testData/diagnostics/tests/nullableTypes/safeCallOperators.kt");
}
@TestMetadata("safeCallWithInvoke.kt")
public void testSafeCallWithInvoke() throws Exception {
runTest("compiler/testData/diagnostics/tests/nullableTypes/safeCallWithInvoke.kt");