Rename the old inference ResolutionCandidate to OldResolutionCandidate

This commit is contained in:
Victor Petukhov
2021-09-20 13:30:37 +03:00
parent 623f273251
commit 6082d681b6
10 changed files with 45 additions and 45 deletions
@@ -43,7 +43,7 @@ import org.jetbrains.kotlin.resolve.calls.model.*
import org.jetbrains.kotlin.resolve.calls.resolvedCallUtil.getExplicitReceiverValue
import org.jetbrains.kotlin.resolve.calls.smartcasts.DataFlowInfo
import org.jetbrains.kotlin.resolve.calls.tasks.ExplicitReceiverKind
import org.jetbrains.kotlin.resolve.calls.tasks.ResolutionCandidate
import org.jetbrains.kotlin.resolve.calls.tasks.OldResolutionCandidate
import org.jetbrains.kotlin.resolve.calls.tasks.TracingStrategy
import org.jetbrains.kotlin.resolve.findTopMostOverriddenDescriptors
import org.jetbrains.kotlin.resolve.scopes.receivers.ReceiverValue
@@ -102,7 +102,7 @@ fun getExpectedTypePredicate(
val predicates = ArrayList<TypePredicate>()
for (candidate in candidates) {
val resolutionCandidate = ResolutionCandidate.create(
val resolutionCandidate = OldResolutionCandidate.create(
call,
candidate,
null,