Browse files

Fixed a bug about the from macro. (Scope problem.)

  • Loading branch information...
1 parent 2e04284 commit 50a3d8c95a582f9d442948ed4bc190c3c35ecebe @dahlia dahlia committed Mar 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Lisphp/Runtime/From.php
View
2 Lisphp/Runtime/From.php
@@ -16,7 +16,7 @@ function apply(Lisphp_Scope $scope, Lisphp_List $arguments) {
}
$retval = $use->apply($tmp, new Lisphp_List($names));
foreach ($simpleNames as $i => $name) {
- $scope[$name] = $retval[$i];
+ $scope->let($name, $retval[$i]);
}
return $retval;
}

0 comments on commit 50a3d8c

Please sign in to comment.