Refactor external overidability conditions
Before this change they could only negatively affect on result Now they may force success result Also refine overridavility condition for java fields: two java fields having the same name are seen as overrides even if they have different type
This commit is contained in:
@@ -9282,6 +9282,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("fieldOverridesFieldOfDifferentType.kt")
|
||||
public void testFieldOverridesFieldOfDifferentType() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/j+k/fieldOverridesFieldOfDifferentType.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("fieldOverridesNothing.kt")
|
||||
public void testFieldOverridesNothing() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/j+k/fieldOverridesNothing.kt");
|
||||
|
||||
Reference in New Issue
Block a user