[FIR, IR] AbstractExpectActualChecker: drop redundant code

- getCallablesStrongIncompatibility is unused (because it moved to the
  "matcher" KT-62590)
- `checkClassScopesCompatibility` parameter is always `true` or unused

Review: https://jetbrains.team/p/kt/reviews/12750/timeline
This commit is contained in:
Nikita Bobko
2023-10-25 20:08:02 +02:00
committed by teamcity
parent 60e5a9c298
commit dab69e38c4
8 changed files with 1 additions and 101 deletions
@@ -234,7 +234,6 @@ private class ExpectActualLinkCollector : IrElementVisitor<Unit, ExpectActualLin
expectSymbol,
listOf(matched),
context,
checkClassScopesCompatibility = true,
)
}
}
@@ -557,7 +557,6 @@ internal abstract class IrExpectActualMatchingContext(
expectClass: RegularClassSymbolMarker,
actualClass: RegularClassSymbolMarker,
actualMember: DeclarationSymbolMarker,
checkClassScopesCompatibility: Boolean,
): Map<out DeclarationSymbolMarker, ExpectActualMatchingCompatibility> = error("Should not be called")
// It's a stub, because not needed anywhere