aboutsummaryrefslogtreecommitdiffstats
path: root/main/core/runtime/Scope.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/core/runtime/Scope.java')
-rw-r--r--main/core/runtime/Scope.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/core/runtime/Scope.java b/main/core/runtime/Scope.java
index e3bf899..0bf8907 100644
--- a/main/core/runtime/Scope.java
+++ b/main/core/runtime/Scope.java
@@ -26,7 +26,8 @@ public class Scope {
public DataContainer resolveSymbol(String symbol, List<DataContainer> params) throws InterpreterException {
if (functions.containsKey(symbol)) {
- return functions.get(symbol).evaluate(params);
+ DataContainer r = functions.get(symbol).evaluate(params);
+ return r;
}
if (variables.containsKey(symbol)) {
return variables.get(symbol);