Force recompile all call-sites of ExpectedActualResolver.{findActualForExpected, findExpectedForActual}

This is needed to workaround broken incremental compilation in JPS in
Kotlin plugin. The incremental compilation bug is reported KT-60759

In Kotlin plugin I created the same commit which changes the name of the
function on the call-site.

Review: https://jetbrains.team/p/kt/reviews/11039/timeline

After a few days in master branch, I will revert this commit
This commit is contained in:
Nikita Bobko
2023-07-27 12:54:08 +02:00
committed by teamcity
parent d39755b578
commit 529a1dd720
3 changed files with 8 additions and 7 deletions
@@ -27,7 +27,7 @@ internal class KtFe10MultiplatformInfoProvider(
val memberDescriptor = (getSymbolDescriptor(actual) as? MemberDescriptor)?.takeIf { it.isActual } ?: return null
val expectedCompatibilityMap =
ExpectedActualResolver.findExpectedForActual(memberDescriptor) ?: return null
ExpectedActualResolver.findExpectedForActual_incrementalCompilationWorkaround(memberDescriptor) ?: return null
val expectsForActual = (expectedCompatibilityMap[ExpectActualCompatibility.Compatible]
?: expectedCompatibilityMap.values.flatten())