I have also encountered this problem. Enclosed is a patch, with an additional fix to a similar issues inside arefs/arrays.
I hope the patches are acceptable (don't know git well enough). I would prefer for them to not depend on my other patches from a few days ago. Will they still merge ok?
Yong.
On 5/4/10, Daniel Gackle danielgackle@gmail.com wrote:
Another syntax error in the new PS. This form:
(let ((blah (let ((x (foo))) (if (null x) y z)))))
... compiles to...
var blah = x = foo(), x == null ? y : z;
... which is incorrect. Previously, PS produced this, which is correct:
var blah = (x = foo(), x == null ? y : z);
Daniel