'copy' of resolved call fix: copy status as well

This commit is contained in:
Svetlana Isakova
2012-11-12 19:57:13 +04:00
parent 45985dd0db
commit de64ba4a88
@@ -43,6 +43,7 @@ public class CallResolverUtil {
call.getTrace().addAllMyDataTo(trace);
trace.record(BindingContext.RESOLVED_CALL, context.call.getCalleeExpression(), copy);
copy.addStatus(call.getStatus());
if (call.isDirty()) {
copy.argumentHasNoType();
}