[Issue 2333] Hash initializer does not work
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 3 04:41:40 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2333
gide at nwawudu.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
------- Comment #2 from gide at nwawudu.com 2008-09-03 06:41 -------
The docs says 'An AssocArrayLiteral cannot be used to statically initialize
anything', so the code should be rejected by the compiler. Changed keyword to
acepts-invalid.
http://www.digitalmars.com/d/2.0/expression.html#AssocArrayLiteral
BTW I've made the same mistake, see BUG 1727.
--
More information about the Digitalmars-d-bugs
mailing list