diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/inference/PostponedArgumentsAnalyzer.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/inference/PostponedArgumentsAnalyzer.kt index f3131cac768..3035f94400c 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/inference/PostponedArgumentsAnalyzer.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/inference/PostponedArgumentsAnalyzer.kt @@ -116,11 +116,11 @@ class PostponedArgumentsAnalyzer( } val additionalBindings: Map? = - (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) } }