mirror of
https://github.com/peklaiho/madlisp.git
synced 2024-11-26 07:04:27 +00:00
fix bug from optimization
This commit is contained in:
parent
ff1ae7b2d4
commit
894bd96e06
@ -149,7 +149,7 @@ class Evaller
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$closure = function (...$args) use ($bindings, $ast, $env) {
|
$closure = function (...$args) use ($bindings, $ast, $env, $astData) {
|
||||||
$newEnv = new Env('closure', $env);
|
$newEnv = new Env('closure', $env);
|
||||||
|
|
||||||
for ($i = 0; $i < count($bindings); $i++) {
|
for ($i = 0; $i < count($bindings); $i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user