Don't generate UNNECESSARY_SAFE_CALL on variables of generic type <T: Any?>
This commit is contained in:
@@ -2319,6 +2319,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/nullableTypes/redundantNullableInSupertype.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("safeCallOnTypeWithNullableUpperBound.kt")
|
||||
public void testSafeCallOnTypeWithNullableUpperBound() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/nullableTypes/safeCallOnTypeWithNullableUpperBound.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/objects")
|
||||
|
||||
Reference in New Issue
Block a user