On Jun 30, 2011, at 8:56 PM, Mike Samuel wrote:

> 2011/6/30 Brendan Eich <[email protected]>:
>> On Jun 30, 2011, at 6:32 PM, Mike Samuel wrote:
>> 
>> 2011/6/28 Brendan Eich <[email protected]>:
>> No, remember I wrote "We'd still need the [lookahead ∉
>> {{, function}] restriction in ExpressionStatement."
> 
> Ok, then by this redefinition of Block,
>    if (foo()) {}
> is not a valid program because it is not possible for a Block to not
> contain any statements.  Neither UnlabeledStatementFirstList nor
> WellLabeledStatement match the empty string.

Oops -- thanks. I will fix in a strawman that captures all of this.

/be

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

Reply via email to