Parse floats with 'F' or 'f' suffix
This commit is contained in:
@@ -2749,6 +2749,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/evaluate/binaryMinusIndependentExpType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("float.kt")
|
||||
public void testFloat() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/evaluate/float.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intOverflow.kt")
|
||||
public void testIntOverflow() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/evaluate/intOverflow.kt");
|
||||
|
||||
@@ -1384,6 +1384,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
doTest("compiler/testData/codegen/box/constants/constantsInWhen.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("float.kt")
|
||||
public void testFloat() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/constants/float.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/controlStructures")
|
||||
|
||||
@@ -53,6 +53,11 @@ public class EvaluateExpressionTestGenerated extends AbstractEvaluateExpressionT
|
||||
doConstantTest("compiler/testData/evaluate/constant/equals.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("float.kt")
|
||||
public void testFloat() throws Exception {
|
||||
doConstantTest("compiler/testData/evaluate/constant/float.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("floatsAndDoubles.kt")
|
||||
public void testFloatsAndDoubles() throws Exception {
|
||||
doConstantTest("compiler/testData/evaluate/constant/floatsAndDoubles.kt");
|
||||
|
||||
@@ -162,6 +162,11 @@ public class JetParsingTestGenerated extends AbstractJetParsingTest {
|
||||
doParsingTest("compiler/testData/psi/FileStart_ERR.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FloatingPointLiteral.kt")
|
||||
public void testFloatingPointLiteral() throws Exception {
|
||||
doParsingTest("compiler/testData/psi/FloatingPointLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ForWithMultiDecl.kt")
|
||||
public void testForWithMultiDecl() throws Exception {
|
||||
doParsingTest("compiler/testData/psi/ForWithMultiDecl.kt");
|
||||
|
||||
Reference in New Issue
Block a user