[Issue 4134] Trailing comma allowed in parameter lists

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 30 05:55:51 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4134


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #4 from Don <clugdbug at yahoo.com.au> 2010-04-30 05:55:50 PDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > This is allowed for simplicity with generated code, I believe. Makes it a bit
> > easier to generate parameter lists, enumeration enums (darn those other enums),
> > etc.
> >
> 
> This would make more sense for array literals, because generating them should
> happen much more often than generating parameter lists.
> 
> I have no problem with trailing commas, but it's not consistently allowed
> everywhere.

See bug 2477.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list