Fixed KT-2418 Front-end allows enum constants with same name
This commit is contained in:
@@ -2245,6 +2245,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/redeclarations/kt2247.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt2418.kt")
|
||||
public void testKt2418() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/redeclarations/kt2418.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt2438.kt")
|
||||
public void testKt2438() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/redeclarations/kt2438.kt");
|
||||
|
||||
Reference in New Issue
Block a user