three small proposals: the bikeshed cometh!

Mike Samuel mikesamuel at
Thu Apr 29 15:33:31 PDT 2010

2010/4/29 Brendan Eich <brendan at>:
> On Apr 29, 2010, at 2:50 PM, Mike Samuel wrote:
>> Methinks "you protest too much, methinks" does not mean what you think
>> it means :)
> Ok, whatever the case, *I'm* protesting the rule written the way you wrote
> it :-).

>> For tokens after which no semicolon can be inserted regardless of next
>> token, I agree.
> Great; I was interpreting your rule as stated a bit too literally.

Sorry for not stating it clearly.

>> And why is "throw" in that category if you're only interested in ASI
>> hazards.
> Because it is in fact a restricted production (ES5 7.9.1 in the ASI summary,
> and the Throw Statement clause 12.13):
> Syntax
> ThrowStatement :
>     throw [no LineTerminator here] Expression ;

Sorry.  I know that it is.  I just have never understood why.  I
misread your list not as a reiteration of what are restricted
productions, but as a list of productions that would be problematic
absent restrictions.

More information about the es-discuss mailing list