[Issue 8179] ICE(e2ir.c) with failed fixed size array cast
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jan 14 18:04:05 PST 2015
https://issues.dlang.org/show_bug.cgi?id=8179
--- Comment #10 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to bearophile_hugs from comment #9)
> 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?
It's a dup of issue 7514.
--
More information about the Digitalmars-d-bugs
mailing list