Just pushed a patch for this.

I know I saw a similar example with string concatenation somewhere in
a book or on the web before, but it didn't occur to me until now that
this means that '+' is not associative in JavaScript.

Thanks for the bug report!

On Tue, Jan 31, 2012 at 3:31 PM, Daniel Gackle <[email protected]> wrote:
>   (let ((str "a")
>         (n 1))
>     (+ str (+ n 1)))
>
> should produce "a2", but instead compiles to "str + n + 1" and produces
> "a11".
>
> _______________________________________________
> parenscript-devel mailing list
> [email protected]
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>

_______________________________________________
parenscript-devel mailing list
[email protected]
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel

Reply via email to