comment added
This commit is contained in:
@@ -395,9 +395,9 @@ public class CallResolver {
|
||||
|
||||
if (results.isSingleResult()) {
|
||||
ResolvedCallWithTrace<F> resultingCall = results.getResultingCall();
|
||||
CallCandidateResolutionContext<F> callCandidateResolutionContext = CallCandidateResolutionContext.createForCallBeingAnalyzed(
|
||||
CallCandidateResolutionContext<F> contextForCallToCompleteTypeArgumentInference = CallCandidateResolutionContext.createForCallBeingAnalyzed(
|
||||
results.getResultingCall().getCallToCompleteTypeArgumentInference(), context, tracing);
|
||||
context.resolutionResultsCache.recordDeferredComputationForCall(callKey, resultingCall, callCandidateResolutionContext);
|
||||
context.resolutionResultsCache.recordDeferredComputationForCall(callKey, resultingCall, contextForCallToCompleteTypeArgumentInference);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -54,6 +54,7 @@ public interface ResolutionResultsCache {
|
||||
@Nullable
|
||||
DelegatingBindingTrace getResolutionTrace(@NotNull CallKey callKey);
|
||||
|
||||
//For VariableAsFunctionCall deferredComputation is taken for its function call, but resolvedCall is the VariableAsFunctionCall itself.
|
||||
<D extends CallableDescriptor> void recordDeferredComputationForCall(
|
||||
@NotNull CallKey callKey,
|
||||
@NotNull ResolvedCallWithTrace<D> resolvedCall,
|
||||
|
||||
Reference in New Issue
Block a user