Report conflicting signatures that are purely inherited from traits
When all signatures are inherited from traits, the origin elements lie outside of the class in question
This commit is contained in:
@@ -2626,6 +2626,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
doTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/nullableType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("twoTraitsAndOwnFunction.kt")
|
||||
public void testTwoTraitsAndOwnFunction() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/twoTraitsAndOwnFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeMappedToJava.kt")
|
||||
public void testTypeMappedToJava() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/typeMappedToJava.kt");
|
||||
|
||||
Reference in New Issue
Block a user