Fix a variable-name-shadowing issue

This commit is contained in:
Tim Wojtulewicz 2020-03-24 13:07:24 -07:00
parent 91f05f19ef
commit 12f2153f67

View file

@ -4198,13 +4198,13 @@ IntrusivePtr<Val> CallExpr::Eval(Frame* f) const
if ( func_val && v ) if ( func_val && v )
{ {
const ::Func* func = func_val->AsFunc(); const ::Func* funcv = func_val->AsFunc();
const CallExpr* current_call = f ? f->GetCall() : 0; const CallExpr* current_call = f ? f->GetCall() : 0;
if ( f ) if ( f )
f->SetCall(this); f->SetCall(this);
ret = func->Call(v, f); ret = funcv->Call(v, f);
if ( f ) if ( f )
f->SetCall(current_call); f->SetCall(current_call);