[FIR] Introduce ResolutionContext and get rid of components in Candidate

This commit is contained in:
Dmitriy Novozhilov
2020-09-08 15:04:39 +03:00
parent c53ffca34f
commit 912676d868
17 changed files with 129 additions and 82 deletions
@@ -47,7 +47,7 @@ class SingleCandidateResolver(
stubBodyResolveTransformer,
bodyResolveComponents,
)
private val resolutionStageRunner = ResolutionStageRunner(bodyResolveComponents.inferenceComponents)
private val resolutionStageRunner = ResolutionStageRunner(ResolutionContext(firSession, bodyResolveComponents))
fun resolveSingleCandidate(
resolutionParameters: ResolutionParameters