Redeclaration for same file in different files
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// FILE: f1.kt
|
||||
package test
|
||||
|
||||
class <!REDECLARATION!>A<!>
|
||||
class F1
|
||||
|
||||
// FILE: f2.kt
|
||||
package test
|
||||
|
||||
class <!REDECLARATION!>A<!>
|
||||
class F2
|
||||
@@ -5241,6 +5241,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/redeclarations"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("ClassRedeclarationInDifferentFiles.kt")
|
||||
public void testClassRedeclarationInDifferentFiles() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/redeclarations/ClassRedeclarationInDifferentFiles.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConflictingExtensionProperties.kt")
|
||||
public void testConflictingExtensionProperties() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/redeclarations/ConflictingExtensionProperties.kt");
|
||||
|
||||
Reference in New Issue
Block a user