[parenscript-devel] Bug: lexical renames wrongly extended to CREATE special form
Vladimir Sedach
vsedach at gmail.com
Tue Oct 13 15:58:28 UTC 2009
Just pushed a fix. Thanks for the bug report.
The problem was that CREATE was trying to compile the keys, even
though it would later treat them as constants.
Vladimir
On Fri, Oct 9, 2009 at 2:00 PM, Daniel Gackle <danielgackle at gmail.com> wrote:
> In this example, the CREATE form is being expanded incorrectly, because the
> symbol A passed to it is not a reference to either of the lexical variables
> in scope.
>
> (ps (let ((a 99))
> (let ((a 22))
> (create a 33))))
>
> =>
>
> "var a = 99;
> var a666 = 22;
> { a666 : 33 };"
>
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>
>
More information about the parenscript-devel
mailing list