Parse longs with 'L' suffix. Report error if 'l' used.
This commit is contained in:
@@ -2759,6 +2759,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/evaluate/intOverflow.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("integer.kt")
|
||||
public void testInteger() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/evaluate/integer.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("longOverflow.kt")
|
||||
public void testLongOverflow() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/evaluate/longOverflow.kt");
|
||||
@@ -2799,6 +2804,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/evaluate/unaryMinusIndependentExpType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("wrongLongSuffix.kt")
|
||||
public void testWrongLongSuffix() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/evaluate/wrongLongSuffix.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/extensions")
|
||||
|
||||
@@ -1389,6 +1389,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
doTest("compiler/testData/codegen/box/constants/float.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("long.kt")
|
||||
public void testLong() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/constants/long.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/controlStructures")
|
||||
|
||||
@@ -63,6 +63,11 @@ public class EvaluateExpressionTestGenerated extends AbstractEvaluateExpressionT
|
||||
doConstantTest("compiler/testData/evaluate/constant/floatsAndDoubles.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("integer.kt")
|
||||
public void testInteger() throws Exception {
|
||||
doConstantTest("compiler/testData/evaluate/constant/integer.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("integers.kt")
|
||||
public void testIntegers() throws Exception {
|
||||
doConstantTest("compiler/testData/evaluate/constant/integers.kt");
|
||||
|
||||
@@ -242,6 +242,11 @@ public class JetParsingTestGenerated extends AbstractJetParsingTest {
|
||||
doParsingTest("compiler/testData/psi/Inner.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IntegerLiteral.kt")
|
||||
public void testIntegerLiteral() throws Exception {
|
||||
doParsingTest("compiler/testData/psi/IntegerLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Labels.kt")
|
||||
public void testLabels() throws Exception {
|
||||
doParsingTest("compiler/testData/psi/Labels.kt");
|
||||
|
||||
Reference in New Issue
Block a user