Fix incorrect handling of @NotNull type parameters
^KT-36770 In progress ^KT-40114 Relates ^KT-28785 Relates
This commit is contained in:
@@ -14118,6 +14118,16 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/arrayList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("notNullTypeParameterWithKotlinNullable.kt")
|
||||
public void testNotNullTypeParameterWithKotlinNullable() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinNullable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("notNullTypeParameterWithKotlinNullableWarnings.kt")
|
||||
public void testNotNullTypeParameterWithKotlinNullableWarnings() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinNullableWarnings.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnCollection.kt")
|
||||
public void testReturnCollection() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/returnCollection.kt");
|
||||
|
||||
Generated
+10
@@ -14113,6 +14113,16 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/arrayList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("notNullTypeParameterWithKotlinNullable.kt")
|
||||
public void testNotNullTypeParameterWithKotlinNullable() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinNullable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("notNullTypeParameterWithKotlinNullableWarnings.kt")
|
||||
public void testNotNullTypeParameterWithKotlinNullableWarnings() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinNullableWarnings.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnCollection.kt")
|
||||
public void testReturnCollection() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/types/returnCollection.kt");
|
||||
|
||||
Reference in New Issue
Block a user