K2: for Java source override, don't compare return types in override checker
#KT-57044 Fixed
This commit is contained in:
committed by
Space Team
parent
7d7256536c
commit
0c61ce61c3
+12
@@ -6969,6 +6969,18 @@ public class DiagnosticCompilerTestFirTestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/NamedParameterInConcurrentMap.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overriddenFunctionReturningUnit.kt")
|
||||
public void testOverriddenFunctionReturningUnit() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/overriddenFunctionReturningUnit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overriddenFunctionReturningUnit2.kt")
|
||||
public void testOverriddenFunctionReturningUnit2() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/overriddenFunctionReturningUnit2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifierPriority.kt")
|
||||
public void testQualifierPriority() throws Exception {
|
||||
|
||||
+12
@@ -6969,6 +6969,18 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFirTestDataTestGenerated
|
||||
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/NamedParameterInConcurrentMap.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overriddenFunctionReturningUnit.kt")
|
||||
public void testOverriddenFunctionReturningUnit() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/overriddenFunctionReturningUnit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overriddenFunctionReturningUnit2.kt")
|
||||
public void testOverriddenFunctionReturningUnit2() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/overriddenFunctionReturningUnit2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifierPriority.kt")
|
||||
public void testQualifierPriority() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user