Remove variable branch after function is finished running
continuous-integration/drone/push Build is passing

This commit is contained in:
Deukhoofd committed 2019-06-09 12:37:19 +02:00
1 parent 471632c6e4
commit 9241273e7c
1 file changed
+2
+2
View File
@@ -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;