Report warnings on overrides with wrong types nullability
^KT-48899 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
ec97dab6cd
commit
f7ef551f99
+12
@@ -17848,6 +17848,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinNullableWarnings.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.kt")
|
||||
public void testNotNullTypeParameterWithKotlinOverridesDefinitelyNonNullable() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notNullTypeParameterWithKotlinOverridesWarning.kt")
|
||||
public void testNotNullTypeParameterWithKotlinOverridesWarning() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesWarning.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnCollection.kt")
|
||||
public void testReturnCollection() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user