W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

[Bug 22156] Allow trailing commas in Web IDL lists

From: <bugzilla@jessica.w3.org>
Date: Tue, 06 Aug 2013 01:07:14 +0000
To: public-script-coord@w3.org
Message-ID: <bug-22156-3890-MPk19W1Tv9@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22156

--- Comment #5 from Cameron McCormack <cam@mcc.id.au> ---
(In reply to comment #4)
> (In reply to comment #2)
> > Trailing commas for enums were allowed in the other bug, but I'm not doing
> > it for extended attributes unless there is more demand.
> 
> It's pretty bizarre if a language allows trailing commas in *some*
> comma-separated syntax constructs, but not others.

Not unheard of that only some comma-separated syntax constructs in a language
allow a trailing comma.  In JS [1,2,] is fine yet function(a,b,){} isn't.
*shrug*

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 6 August 2013 01:07:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC