KT-13342 Unqualified super call should not resolve to a method of supertype overridden in another supertype
This commit is contained in:
@@ -21783,6 +21783,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("withMethodOverriddenInAnotherSupertype.kt")
|
||||
public void testWithMethodOverriddenInAnotherSupertype() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/withMethodOverriddenInAnotherSupertype.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("withMethodsOfAny.kt")
|
||||
public void testWithMethodsOfAny() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/withMethodsOfAny.kt");
|
||||
|
||||
Reference in New Issue
Block a user