[FIR] Only let supertypes of ILTs include Number when it's not unsigned
#KT-64607 Fixed
This commit is contained in:
committed by
Space Team
parent
81d6615915
commit
fd12f24725
+6
@@ -39266,6 +39266,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/unsignedTypes/lateinitUnsignedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("numberReceiverNotValid.kt")
|
||||
public void testNumberReceiverNotValid() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/unsignedTypes/numberReceiverNotValid.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overloadResolutionOfBasicOperations.kt")
|
||||
public void testOverloadResolutionOfBasicOperations() throws Exception {
|
||||
|
||||
+6
@@ -39266,6 +39266,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/unsignedTypes/lateinitUnsignedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("numberReceiverNotValid.kt")
|
||||
public void testNumberReceiverNotValid() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/unsignedTypes/numberReceiverNotValid.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overloadResolutionOfBasicOperations.kt")
|
||||
public void testOverloadResolutionOfBasicOperations() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user