about summary refs log tree commit diff stats
path: root/shell/evaluate.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-04-10 23:32:38 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-04-10 23:32:38 -0700
commit1c4e8fe775d02accfbfd5522025131c636a16d90 (patch)
tree6ee6cc54f1045059d28453572d0382a412e3a933 /shell/evaluate.mu
parentb0096cd6a694e1ccad19d6b3849bd032af6a4fe9 (diff)
downloadmu-1c4e8fe775d02accfbfd5522025131c636a16d90.tar.gz
shell: none of our primitives need to be closures
Diffstat (limited to 'shell/evaluate.mu')
-rw-r--r--shell/evaluate.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/evaluate.mu b/shell/evaluate.mu
index 62e5f885..4ade5c11 100644
--- a/shell/evaluate.mu
+++ b/shell/evaluate.mu
@@ -227,7 +227,7 @@ fn apply _f-ah: (addr handle cell), args-ah: (addr handle cell), out: (addr hand
     var f-type/eax: (addr int) <- get f, type
     compare *f-type, 4/primitive-function
     break-if-!=
-    apply-primitive f, args-ah, out, env-h, globals, trace
+    apply-primitive f, args-ah, out, globals, trace
     return
   }
   # if it's not a primitive function it must be an anonymous function