record RESOLVED_CALL to the right trace to be accessible to backend
This commit is contained in:
@@ -57,9 +57,9 @@ public class CallResolverUtil {
|
|||||||
|
|
||||||
TemporaryBindingTrace trace = TemporaryBindingTrace.create(context.trace, call.getTrace().toString() + "(copy)");
|
TemporaryBindingTrace trace = TemporaryBindingTrace.create(context.trace, call.getTrace().toString() + "(copy)");
|
||||||
ResolvedCallImpl<D> copy = ResolvedCallImpl.create(candidate, trace, call.getTracing());
|
ResolvedCallImpl<D> copy = ResolvedCallImpl.create(candidate, trace, call.getTracing());
|
||||||
|
//todo remove because call's trace isn't used (?)
|
||||||
call.getTrace().addAllMyDataTo(trace);
|
call.getTrace().addAllMyDataTo(trace);
|
||||||
trace.record(BindingContext.RESOLVED_CALL, context.call.getCalleeExpression(), copy);
|
context.trace.record(BindingContext.RESOLVED_CALL, context.call.getCalleeExpression(), copy);
|
||||||
|
|
||||||
copy.addStatus(call.getStatus());
|
copy.addStatus(call.getStatus());
|
||||||
if (call.isDirty()) {
|
if (call.isDirty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user