[feat] unwind-protect now works. Tracked down the last bad reference.

This commit is contained in:
Elf M. Sternberg 2015-08-04 08:48:12 -07:00
parent d26c572ba2
commit bf7068d0ad
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ definitial "apply", new Primitive "apply", (values, env, kont) ->
definitial "funcall", new Primitive "funcall", (args, env, kont) ->
if not nilp cdr args
@kont.invoke (car args), (cdr args)
kont.invoke (env.lookup (car args)), (cdr args)
else
throw new LispInterpreterError "Invoke requires a function name and arguments"