Minor: prevent rare case when soft keyword was parsed as enum entry

This commit is contained in:
Pavel V. Talanov
2015-03-05 16:41:37 +03:00
parent c029fa2ed0
commit 0ca2f3f336
4 changed files with 51 additions and 1 deletions
@@ -391,6 +391,12 @@ public class JetParsingTestGenerated extends AbstractJetParsingTest {
doParsingTest(fileName);
}
@TestMetadata("namelessObjectAsEnumMember.kt")
public void testNamelessObjectAsEnumMember() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/namelessObjectAsEnumMember.kt");
doParsingTest(fileName);
}
@TestMetadata("NestedComments.kt")
public void testNestedComments() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/NestedComments.kt");