Add 'default' keyword

Parser: allow objects that are marked as default to have no name
This commit is contained in:
Pavel V. Talanov
2015-03-05 14:27:36 +03:00
parent 0ca2f3f336
commit 2b51e4f2d4
7 changed files with 507 additions and 30 deletions
@@ -151,6 +151,12 @@ public class JetParsingTestGenerated extends AbstractJetParsingTest {
doParsingTest(fileName);
}
@TestMetadata("DefaultKeyword.kt")
public void testDefaultKeyword() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/DefaultKeyword.kt");
doParsingTest(fileName);
}
@TestMetadata("DocCommentAfterFileAnnotations.kt")
public void testDocCommentAfterFileAnnotations() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/DocCommentAfterFileAnnotations.kt");