More correct handling of compile time constant types #KT-13421 Fixed
This commit is contained in:
@@ -6840,6 +6840,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("logicWithNumber.kt")
|
||||
public void testLogicWithNumber() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/evaluate/logicWithNumber.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("longOverflow.kt")
|
||||
public void testLongOverflow() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/evaluate/longOverflow.kt");
|
||||
|
||||
+6
@@ -97,6 +97,12 @@ public class CompileTimeConstantEvaluatorTestGenerated extends AbstractCompileTi
|
||||
doConstantTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("integerOperations.kt")
|
||||
public void testIntegerOperations() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/evaluate/constant/integerOperations.kt");
|
||||
doConstantTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("integers.kt")
|
||||
public void testIntegers() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/evaluate/constant/integers.kt");
|
||||
|
||||
Reference in New Issue
Block a user