diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/ResolutionStages.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/ResolutionStages.kt index fbbcdfe2ecf..50bfa79c876 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/ResolutionStages.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/ResolutionStages.kt @@ -239,7 +239,7 @@ internal object CheckLowPriorityInOverloadResolution : CheckerStage() { } internal object PostponedVariablesInitializerResolutionStage : ResolutionStage() { - val BUILDER_INFERENCE_CLASS_ID: ClassId = ClassId.fromString("kotlin/BuilderInference") + private val BUILDER_INFERENCE_CLASS_ID: ClassId = ClassId.fromString("kotlin/BuilderInference") override suspend fun check(candidate: Candidate, callInfo: CallInfo, sink: CheckerSink, context: ResolutionContext) { val argumentMapping = candidate.argumentMapping ?: return @@ -251,7 +251,6 @@ internal object PostponedVariablesInitializerResolutionStage : ResolutionStage() val receiverType = type.receiverType(callInfo.session) ?: continue for (freshVariable in candidate.freshVariables) { - candidate.typeArgumentMapping if (candidate.csBuilder.isPostponedTypeVariable(freshVariable)) continue if (freshVariable !is TypeParameterBasedTypeVariable) continue val typeParameterSymbol = freshVariable.typeParameterSymbol