On Jul 25, 2010, at 11:56 AM, David Herman wrote:

>> In order to reliably remove this hazard, we would need to ban statements 
>> from starting with '('. Perhaps we should consider doing so.
> 
> 
> That's a REPL-killer: as is, you have to do unnatural paren-wrapping for 
> object-literal expressions at a REPL:
> 
>> ({ foo: 42 })
>    ({ foo: 42 })
> 
> Now you wouldn't even be allowed to do that.

No free lunch! ;-)

Hey, we are merely considering, not jumping to a conclusion.

Mark's restricted production for CallExpression attacks the hazard even more 
directly, but apart from our aversion to restricted productions, what might it 
break?

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

Reply via email to