[K2] Make CONFLICTING_OVERLOADS + HIDDEN ignore work only for finals
When fixing KT-22004, the analysis was incomplete, the details are available at KT-63540. This change restricts the ignore of conflicting overloads on hidden callables only for final ones. ^KT-63540 Fixed
This commit is contained in:
+6
@@ -27297,6 +27297,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/NoHiddenTransitivityFromClassifierToConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("OpenFunctionsInMemberScope.kt")
|
||||
public void testOpenFunctionsInMemberScope() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/OpenFunctionsInMemberScope.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterMultipleBounds.kt")
|
||||
public void testTypeParameterMultipleBounds() throws Exception {
|
||||
|
||||
+6
@@ -27297,6 +27297,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/NoHiddenTransitivityFromClassifierToConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("OpenFunctionsInMemberScope.kt")
|
||||
public void testOpenFunctionsInMemberScope() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/OpenFunctionsInMemberScope.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterMultipleBounds.kt")
|
||||
public void testTypeParameterMultipleBounds() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user