[FIR] Don't traverse expect hierarchy to check DefaultArgumentsInExpectActualizedByFakeOverride
^KT-63860 Fixed Review: https://jetbrains.team/p/kt/reviews/13334/timeline The previous code was nonsense (I wrote it). It doesn't make sense to subtract actualOverriddenDeclarations from expectOverriddenDeclarations. Default parameters are mentioned on the expect side. So default params in expect/actual supertypes won't be subtracted from expectOverriddenDeclarations (but should be)
This commit is contained in:
+12
@@ -24066,6 +24066,18 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/kt60902.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63860.kt")
|
||||
public void testKt63860() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/kt63860.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63860_2.kt")
|
||||
public void testKt63860_2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/kt63860_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyImplMemberNotImplemented.kt")
|
||||
public void testManyImplMemberNotImplemented() throws Exception {
|
||||
|
||||
+12
@@ -24066,6 +24066,18 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/kt60902.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63860.kt")
|
||||
public void testKt63860() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/kt63860.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63860_2.kt")
|
||||
public void testKt63860_2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/kt63860_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyImplMemberNotImplemented.kt")
|
||||
public void testManyImplMemberNotImplemented() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user