KT-2438 Prohibit inner classes with the same name
Rewrite checkClassObjectInnerClassNames() to also check for name clashes between inner classes of a single class #KT-2438 Fixed
This commit is contained in:
@@ -1898,6 +1898,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/redeclarations/kt2247.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt2438.kt")
|
||||
public void testKt2438() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/redeclarations/kt2438.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MultiFilePackageRedeclaration.kt")
|
||||
public void testMultiFilePackageRedeclaration() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/redeclarations/MultiFilePackageRedeclaration.kt");
|
||||
|
||||
Reference in New Issue
Block a user