On 26 September 2012 15:02, Brendan Eich <[email protected]> wrote:
> Let's agree that AssignmentExpression is ok (required for the left-most
> comprehension expression). The main nannying objection was to trying to ban
> = at top level of if and for heads.
>
> If we can settle on this, I'm ok with it given the custom grammar already
> required for if and for in comprehensions. It's not like anyone will truly
> want / need to write comma expressions in heads, as I said yesterday!

Sounds good to me.

> Separate question to you: (for|let|if)+ is what Jason championed, are you on
> board?

Right, I see no reason to artificially restrict the syntax to specific
cases, especially given that it wouldn't make the expansion any
simpler. So I also favour (for|if)+ or (for|let|if)+ (having let makes
sense, although it probably isn't super important).

/Andreas
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to