Extra test for the case of error types in detecting duplicate signatures

This commit is contained in:
Andrey Breslav
2014-06-06 23:02:16 +04:00
parent a26f4f9203
commit 111c0e55b8
2 changed files with 9 additions and 0 deletions
@@ -0,0 +1,4 @@
trait T {
<!CONFLICTING_JVM_DECLARATIONS!>val x: <!UNRESOLVED_REFERENCE!>ErrorType<!><!>
<!CONFLICTING_JVM_DECLARATIONS!>fun getX(): <!UNRESOLVED_REFERENCE!>ErrorType1<!><!>
}
@@ -2799,6 +2799,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty/trait.kt");
}
@TestMetadata("withErrorTypes.kt")
public void testWithErrorTypes() throws Exception {
doTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/functionAndProperty/withErrorTypes.kt");
}
}
@TestMetadata("compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames")