Extra test for the case of error types in detecting duplicate signatures
This commit is contained in:
+4
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user