Forbid prefixes and suffixes for numeric literals

This commit is contained in:
Andrey Breslav
2015-11-30 13:59:25 +03:00
parent 8544a5ab5f
commit 45db5db7e8
4 changed files with 82 additions and 11 deletions
@@ -403,6 +403,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("NumberPrefixAndSuffix.kt")
public void testNumberPrefixAndSuffix() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/NumberPrefixAndSuffix.kt");
doTest(fileName);
}
@TestMetadata("ObjectWithConstructor.kt")
public void testObjectWithConstructor() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/ObjectWithConstructor.kt");