[FIR] Fix raw type nullability computation
Consider the nullability of the type arguments, not of the type. This fixes a false positive ARGUMENT_TYPE_MISMATCH. #KT-66294 Fixed
This commit is contained in:
committed by
Space Team
parent
df878918ee
commit
172df04c9b
+6
@@ -22432,6 +22432,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/nullForOptionalOrElse.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableRawTypeWithFlexibleArguments.kt")
|
||||
public void testNullableRawTypeWithFlexibleArguments() {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/nullableRawTypeWithFlexibleArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("orderOfSupertypesAndFakeOverrides_1.kt")
|
||||
public void testOrderOfSupertypesAndFakeOverrides_1() {
|
||||
|
||||
+6
@@ -22432,6 +22432,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/nullForOptionalOrElse.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableRawTypeWithFlexibleArguments.kt")
|
||||
public void testNullableRawTypeWithFlexibleArguments() {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/nullableRawTypeWithFlexibleArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("orderOfSupertypesAndFakeOverrides_1.kt")
|
||||
public void testOrderOfSupertypesAndFakeOverrides_1() {
|
||||
|
||||
Reference in New Issue
Block a user