Merge pull request #102 from udalov/kt2247

KT-2247 Report name clashes between inner classes and members of class object
This commit is contained in:
Andrey Breslav
2012-07-19 10:10:35 -07:00
4 changed files with 49 additions and 0 deletions
@@ -1769,6 +1769,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.checkers.AbstractDiagnosticsTestWithEagerResolve", new File("compiler/testData/diagnostics/tests/redeclarations"), "kt", false);
}
@TestMetadata("kt2247.kt")
public void testKt2247() throws Exception {
doTest("compiler/testData/diagnostics/tests/redeclarations/kt2247.kt");
}
@TestMetadata("MultiFilePackageRedeclaration.kt")
public void testMultiFilePackageRedeclaration() throws Exception {
doTest("compiler/testData/diagnostics/tests/redeclarations/MultiFilePackageRedeclaration.kt");