[NI] Discriminate integer literal types as they are less specific
Plus simplify code in `ResultTypeResolver` a bit
This commit is contained in:
+5
@@ -14120,6 +14120,11 @@ public class FirDiagnosticsSmokeTestGenerated extends AbstractFirDiagnosticsSmok
|
||||
runTest("compiler/testData/diagnostics/tests/numbers/intValuesOutOfRange.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("numberAsUnionAndIntersection.kt")
|
||||
public void testNumberAsUnionAndIntersection() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/numbers/numberAsUnionAndIntersection.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("numbersInSimpleConstraints.kt")
|
||||
public void testNumbersInSimpleConstraints() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/numbers/numbersInSimpleConstraints.kt");
|
||||
|
||||
Reference in New Issue
Block a user