[Issue 8179] ICE(e2ir.c) with failed fixed size array cast

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jan 14 15:03:50 PST 2015


https://issues.dlang.org/show_bug.cgi?id=8179

--- Comment #9 from bearophile_hugs at eml.cc ---
This reduction of the original example:

void main() /*@nogc*/ {
    int[2][1] m = cast(int[2][1])[1, 2];
}


still doesn't compile:

test2.d(2,34): Error: e2ir: cannot cast [1, 2] of type int[] to type int[2][1]

Do you want me to reopen this issue?

--


More information about the Digitalmars-d-bugs mailing list