Allow singletons and functions with the same name

This commit is contained in:
Alexander Udalov
2013-12-02 16:12:03 +04:00
parent dcedbed7e1
commit 080bd42f88
3 changed files with 30 additions and 0 deletions
@@ -5033,6 +5033,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/redeclarations/RedeclaredTypeParameters.kt");
}
@TestMetadata("SingletonAndFunctionSameName.kt")
public void testSingletonAndFunctionSameName() throws Exception {
doTest("compiler/testData/diagnostics/tests/redeclarations/SingletonAndFunctionSameName.kt");
}
}
@TestMetadata("compiler/testData/diagnostics/tests/regressions")