[Issue 2415] DMD allows void foo(int i, ); function definition

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 12 21:49:35 PDT 2008


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





------- Comment #1 from business3 at twistedpairgaming.com  2008-10-12 23:49 -------
I'm not sure but I think this might be intended in any place that accepts a
comma separated list to make it easier to maintain long multi-line lists. For
example, copy/pasting a bunch of entries from the start/middle of a list to the
end and you don't have to worry about adding a comma after the former last
element or removing the comma from the new last element. That's been my
assumption, as I've actually found it useful for just that reason.


-- 



More information about the Digitalmars-d-bugs mailing list