[parenscript-devel] Bug: macroexpansion broken by lexical scoping change

Daniel Gackle danielgackle at gmail.com
Wed May 6 20:00:40 UTC 2009


Here's one thing that the latest PS breaks in our code.

(ps (list 1 2 3))
=>
"[1,2,3];"

(ps (let ((list nil))
          (setf list (list 1 2 3))))
=>
"var list5180 = null;
list5180 = list5180(1, 2, 3);"

I think this behavior is incorrect. It is quite surprising for a lexical
variable to shadow a macro definition.

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20090506/aca269ba/attachment.html>


More information about the parenscript-devel mailing list