Rename: builderInferenceSession -> pclaInferenceSession

This commit is contained in:
Mikhail Glukhikh
2024-01-24 13:40:27 +01:00
committed by Space Team
parent 195d3604ae
commit 56475c0a5b
@@ -116,11 +116,11 @@ class PostponedArgumentsAnalyzer(
}
val additionalBindings: Map<TypeConstructorMarker, KotlinTypeMarker>? =
(resolutionContext.bodyResolveContext.inferenceSession as? FirPCLAInferenceSession)?.let { builderInferenceSession ->
(resolutionContext.bodyResolveContext.inferenceSession as? FirPCLAInferenceSession)?.let { pclaInferenceSession ->
// TODO: Fix variables for context receivers, too (KT-64859)
buildMap {
lambda.receiver
?.let { builderInferenceSession.fixVariablesForMemberScope(it, candidate.system) }
?.let { pclaInferenceSession.fixVariablesForMemberScope(it, candidate.system) }
?.let(this::plusAssign)
}
}