diff options
| author | mryouse | 2022-06-13 03:44:50 +0000 |
|---|---|---|
| committer | mryouse | 2022-06-13 03:44:50 +0000 |
| commit | 006ae57991d2685c489a8b5dae71da29defc7fc7 (patch) | |
| tree | 3dfb8b9f6f77b271ce12643060a2693a6423d09d /interpreter.py | |
| parent | 0f6a3e4bbd4fe3f4accea200fc4bb4d293ecd80d (diff) | |
bugfix: missing namespace passing in evaluate_args
Diffstat (limited to 'interpreter.py')
| -rw-r--r-- | interpreter.py | 2 |
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_}" |
