http://d.puremagic.com/issues/show_bug.cgi?id=8442
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |D1 & D2 --- Comment #3 from Kenji Hara <[email protected]> 2012-07-28 09:40:19 PDT --- D1 has similar problem. const int[] fooEnum1 = [1]; const int[] fooEnum0 = []; void main() { const int[1] fooImmutable1 = fooEnum1; // OK const int[0] fooImmutable0 = fooEnum0; // Error // test.d(2): Error: cannot implicitly convert expression ([]) of type int[] to int[0u] } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
