http://d.puremagic.com/issues/show_bug.cgi?id=4397
--- Comment #11 from nfx...@gmail.com 2010-09-01 12:34:43 PDT --- Btw. this is a CTFE problem, and the first example is in D1. I don't know what the hell is with D2 and immutable and implicit dups, but to get the same behavior on D2, replace const with enum. The array should be on the *datsegment*, not somehow constructed on the fly. Not sure about the exact testcase in bug 2356, but it's definitely different from writing "int[3] x; x[] = [1,2,3];". -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------