https://issues.dlang.org/show_bug.cgi?id=2849
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Version|2.027 |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=2849
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=2849
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=2849
--- Comment #1 from Don clugd...@yahoo.com.au 2012-03-15 22:40:16 PDT ---
It's because it doesn't try to const fold it. In this case,
the init value is constant, so it could possibly work. In other cases,
it could be initialized from something