digitalmars.D.bugs - [Issue 4134] New: Trailing comma allowed in parameter lists
- d-bugmail puremagic.com (19/19) Apr 29 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4134
- d-bugmail puremagic.com (10/10) Apr 29 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4134
- d-bugmail puremagic.com (16/16) Apr 30 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4134
- d-bugmail puremagic.com (10/13) Apr 30 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4134
- d-bugmail puremagic.com (11/22) Apr 30 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4134
http://d.puremagic.com/issues/show_bug.cgi?id=4134 Summary: Trailing comma allowed in parameter lists Product: D Version: 1.057 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: aziz.koeksal gmail.com PDT --- Example: void main(char[][] args,) {} -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 29 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4134 Ellery Newcomer <ellery-newcomer utulsa.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ellery-newcomer utulsa.edu 11:20:25 PDT --- Sweet. How long has this feature been available? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 29 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4134 Simen Kjaeraas <simen.kjaras gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |simen.kjaras gmail.com Resolution| |WONTFIX PDT --- 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. It's been around for as long as I can remember, and hopefully won't ever be 'fixed'. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 30 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4134 PDT ---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: -------
Apr 30 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4134 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug yahoo.com.auSee bug 2477. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------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.
Apr 30 2010