diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-04-10 23:32:38 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-04-10 23:32:38 -0700 |
commit | 1c4e8fe775d02accfbfd5522025131c636a16d90 (patch) | |
tree | 6ee6cc54f1045059d28453572d0382a412e3a933 /shell/evaluate.mu | |
parent | b0096cd6a694e1ccad19d6b3849bd032af6a4fe9 (diff) | |
download | mu-1c4e8fe775d02accfbfd5522025131c636a16d90.tar.gz |
shell: none of our primitives need to be closures
Diffstat (limited to 'shell/evaluate.mu')
-rw-r--r-- | shell/evaluate.mu | 2 |
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 |