[Issue 4134] Trailing comma allowed in parameter lists

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 30 05:50:38 PDT 2010


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



--- Comment #3 from Aziz Köksal <aziz.koeksal at gmail.com> 2010-04-30 05:50:36 PDT ---
(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.

-- 
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