Skip to content

Commit 80a41fb

Browse files
committed
Fix #80
1 parent 180d097 commit 80a41fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lambda-calculus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ function evalLC(term) {
372372
env = new Env(env).setThunk(term.name, new Tuple(lastTerm, lastEnv));
373373
term = term.body;
374374
} else { // Pass the function some other function.
375-
term = lastTerm(awaitArg(term, stack, env));
375+
term = lastTerm(awaitArg(term, [], env));
376376
}
377377
} else if ( term instanceof Tuple ) {
378378
// for primitives

0 commit comments

Comments
 (0)