[FIR] Implement Int -> Long conversions for literals and operators over them
^KT-38895 ^KT-50996 Fixed ^KT-51000 Fixed ^KT-51003 Fixed ^KT-51018 Fixed
This commit is contained in:
committed by
teamcity
parent
cc86ca2a0f
commit
52b72a7dac
Generated
+22
@@ -17483,6 +17483,28 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/integerLiterals")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IntegerLiterals {
|
||||
@Test
|
||||
public void testAllFilesPresentInIntegerLiterals() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/integerLiterals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intToLongConversion.kt")
|
||||
public void testIntToLongConversion() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/integerLiterals/intToLongConversion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("literalsInInference.kt")
|
||||
public void testLiteralsInInference() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/integerLiterals/literalsInInference.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/j+k")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user