Report ILLEGAL_MODIFIER on inappropriate 'inner' keyword usage

#KT-1174 In Progress
This commit is contained in:
Alexander Udalov
2012-12-03 19:45:24 +04:00
parent 0a1907de11
commit a0caa88adf
4 changed files with 68 additions and 0 deletions
@@ -2419,6 +2419,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/inner/extensionFun.kt");
}
@TestMetadata("illegalModifier.kt")
public void testIllegalModifier() throws Exception {
doTest("compiler/testData/diagnostics/tests/inner/illegalModifier.kt");
}
@TestMetadata("innerThisSuper.kt")
public void testInnerThisSuper() throws Exception {
doTest("compiler/testData/diagnostics/tests/inner/innerThisSuper.kt");