[Issue 7514] [e2ir] Error in e2ir at dynamic array to static array cast
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jan 15 01:20:17 PST 2015
https://issues.dlang.org/show_bug.cgi?id=7514
--- Comment #11 from bearophile_hugs at eml.cc ---
(In reply to Kenji Hara from comment #10)
> I think the cast from int[] to int[2][1] should not be accepted.
Can you please explain why?
Currently this is accepted:
int[2] m = cast(int[2])[1, 2];
--
More information about the Digitalmars-d-bugs
mailing list