[parenscript-devel] Duplicate variable declarations

Vladimir Sedach vsedach at gmail.com
Tue Aug 17 04:43:36 UTC 2010


Fixed.

2010/8/4 Daniel Gackle <danielgackle at gmail.com>:
> When PS hoists the declaration of a variable, it should probably check for
> duplicates:
> (ps (defun blah ()
>       (list (let ((foo 12)) (* foo 2))
>             (let ((foo 13)) (* foo 3)))))
>
> =>
>
> "function blah() {
>     var foo;
>     var foo;
>     return [(foo = 12, foo * 2), (foo = 13, foo * 3)];
> };"
>
> _______________________________________________
> 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