[NI] Fix construction of common system for builder inference
This commit is contained in:
+5
-3
@@ -111,9 +111,11 @@ class KotlinToResolvedCallTransformer(
|
||||
context.trace.record(BindingContext.ONLY_RESOLVED_CALL, psiCall, PartialCallContainer(baseResolvedCall))
|
||||
context.trace.record(BindingContext.PARTIAL_CALL_RESOLUTION_CONTEXT, psiCall, context)
|
||||
|
||||
context.inferenceSession.addPartialCallInfo(
|
||||
PSIPartialCallInfo(baseResolvedCall, context, tracingStrategy)
|
||||
)
|
||||
if (baseResolvedCall.forwardToInferenceSession) {
|
||||
context.inferenceSession.addPartialCallInfo(
|
||||
PSIPartialCallInfo(baseResolvedCall, context, tracingStrategy),
|
||||
)
|
||||
}
|
||||
|
||||
createStubResolvedCallAndWriteItToTrace(candidate, context.trace, baseResolvedCall.diagnostics, substitutor = null)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user