[Issue 2265] AA initializer with string as key is bugged
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 13 01:45:42 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2265
lutger.blijdestijn at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lutger.blijdestijn at gmail.com
Keywords|wrong-code |accepts-invalid, diagnostic
------- Comment #1 from lutger.blijdestijn at gmail.com 2008-08-13 03:45 -------
I'm sorry, this bug report was wrong. According to the spec, aa literals cannot
be used to statically initialize anything. Now the issue is still that dmd
should report this as an error.
This also holds for D1 where no error is reported.
--
More information about the Digitalmars-d-bugs
mailing list