FIC: Parse fun keyword in front of interface as a modifier

This commit is contained in:
Mikhail Zarechenskiy
2019-11-12 01:07:59 +03:00
parent 174b3db723
commit 4aa195e912
7 changed files with 218 additions and 4 deletions
@@ -450,6 +450,11 @@ public class ParsingTestGenerated extends AbstractParsingTest {
runTest("compiler/testData/psi/InterfaceWithEnumKeyword.kt");
}
@TestMetadata("kotlinFunInterface_ERR.kt")
public void testKotlinFunInterface_ERR() throws Exception {
runTest("compiler/testData/psi/kotlinFunInterface_ERR.kt");
}
@TestMetadata("Labels.kt")
public void testLabels() throws Exception {
runTest("compiler/testData/psi/Labels.kt");
@@ -715,6 +720,11 @@ public class ParsingTestGenerated extends AbstractParsingTest {
runTest("compiler/testData/psi/UnsignedLiteral.kt");
}
@TestMetadata("validKotlinFunInterface.kt")
public void testValidKotlinFunInterface() throws Exception {
runTest("compiler/testData/psi/validKotlinFunInterface.kt");
}
@TestMetadata("When.kt")
public void testWhen() throws Exception {
runTest("compiler/testData/psi/When.kt");