[Issue 3854] Error on static initialization of arrays with trailing comma.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 25 20:27:39 PST 2010


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


Ellery Newcomer <ellery-newcomer at utulsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ellery-newcomer at utulsa.edu


--- Comment #3 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2010-02-25 20:27:36 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > I think this is a duplicate of bug 3716.
> 
> It was named D2 only and does not mention problems with trailing commas, thus i
> made it a seperate bug.
> I tested the code of #3716 with dmd 1.056 and it worked, so i suppose it really
> is a different bug.

The trailing commas are deliberate and part of the spec. If you want to
complain about trailing commas, complain that array initializers allow them and
array literal expressions don't.

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