aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormryouse2022-06-13 03:44:50 +0000
committermryouse2022-06-13 03:44:50 +0000
commit006ae57991d2685c489a8b5dae71da29defc7fc7 (patch)
tree3dfb8b9f6f77b271ce12643060a2693a6423d09d
parent0f6a3e4bbd4fe3f4accea200fc4bb4d293ecd80d (diff)
bugfix: missing namespace passing in evaluate_args
-rw-r--r--interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/interpreter.py b/interpreter.py
index 42ecb26..067681f 100644
--- a/interpreter.py
+++ b/interpreter.py
@@ -71,7 +71,7 @@ class Function:
if arg.lazy:
ret.append(param)
continue
- ev = evaluate(param, env)
+ ev = evaluate(param, env, ns)
if not is_subtype_of(ev.type_, arg.type_):
exp = f"{arg.type_}"
rec = f"{ev.type_}"