Report warnings on safe call + nullable extension operator
^KT-41034 In Progress
This commit is contained in:
@@ -15828,6 +15828,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
|
||||
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");
|
||||
|
||||
Generated
+5
@@ -15823,6 +15823,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
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");
|
||||
|
||||
Reference in New Issue
Block a user