https://issues.dlang.org/show_bug.cgi?id=4281
Andrei Alexandrescu changed:
What|Removed |Added
Version|D1 & D2 |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=4281
--- Comment #3 from bearophile_h...@eml.cc 2012-10-21 13:51:00 PDT ---
(In reply to comment #2)
> It compiles now, although I'm not sure if such a key should be allowed..
The type of the key of this associative array is actually "const int[]",
http://d.puremagic.com/issues/show_bug.cgi?id=4281
Andrej Mitrovic changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=4281
--- Comment #1 from Ellery Newcomer 2010-06-06
08:00:00 PDT ---
Created an attachment (id=656)
mind a bit more lookahead?
your code looks fine. dmd's parser doesn't honor the second line in
ArrayMemberInitialization:
NonVoidInitializer