Remove variable branch after function is finished running
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -206,6 +206,8 @@ shared_ptr<EvalValue> Evaluator::EvaluateFunctionCallExpression(BoundExpression*
|
||||
}
|
||||
this->_evaluationScope->OuterScope();
|
||||
this->EvaluateBlockStatement(function->GetInnerBlock().get());
|
||||
|
||||
delete this->_evaluationScope;
|
||||
this->_evaluationScope = originalScope;
|
||||
this->_hasReturned = false;
|
||||
auto r = this -> _returnValue;
|
||||
|
||||
Reference in New Issue
Block a user