[parenscript-devel] Duplicate variable declarations

Daniel Gackle danielgackle at gmail.com
Wed Aug 4 19:12:24 UTC 2010


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)];
};"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20100804/71835b18/attachment.html>


More information about the parenscript-devel mailing list