[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
@@ -36992,6 +36992,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
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
@@ -37112,6 +37112,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
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