[Issue 3854] Error on static initialization of arrays with trailing comma.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 21 12:04:38 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3854
Iain Buclaw <ibuclaw at ubuntu.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ibuclaw at ubuntu.com
--- Comment #4 from Iain Buclaw <ibuclaw at ubuntu.com> 2010-03-21 12:04:34 PDT ---
Paradoxically, the absent of a trailing comma can trigger this error too.
int[][][] a = [[ [1,2],[3,4], ]]; // Error
Whereas:
int[][][] a = [[ [1,2],[3,4], ],]; // OK
Seems like a bug to me, and the patch in bug 3716 resolves this.
--
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