Labeled this & super to nested class' outer is an error

#KT-1174 In Progress
This commit is contained in:
Alexander Udalov
2012-12-03 17:42:40 +04:00
parent 5d92453532
commit 43c37398af
17 changed files with 84 additions and 17 deletions
@@ -2419,6 +2419,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/inner/extensionFun.kt");
}
@TestMetadata("innerThisSuper.kt")
public void testInnerThisSuper() throws Exception {
doTest("compiler/testData/diagnostics/tests/inner/innerThisSuper.kt");
}
@TestMetadata("localClass.kt")
public void testLocalClass() throws Exception {
doTest("compiler/testData/diagnostics/tests/inner/localClass.kt");
@@ -2429,6 +2434,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/inner/localClassInsideNested.kt");
}
@TestMetadata("localThisSuper.kt")
public void testLocalThisSuper() throws Exception {
doTest("compiler/testData/diagnostics/tests/inner/localThisSuper.kt");
}
@TestMetadata("modality.kt")
public void testModality() throws Exception {
doTest("compiler/testData/diagnostics/tests/inner/modality.kt");
@@ -4063,9 +4073,9 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/thisAndSuper/thisInFunctionLiterals.kt");
}
@TestMetadata("thisInNestedClasses.kt")
public void testThisInNestedClasses() throws Exception {
doTest("compiler/testData/diagnostics/tests/thisAndSuper/thisInNestedClasses.kt");
@TestMetadata("thisInInnerClasses.kt")
public void testThisInInnerClasses() throws Exception {
doTest("compiler/testData/diagnostics/tests/thisAndSuper/thisInInnerClasses.kt");
}
@TestMetadata("thisInPropertyInitializer.kt")