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

bearophile_h...@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |normal

--- Comment #6 from bearophile_h...@eml.cc ---
Another case (according to Kenji Hara):


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


Gives:

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

--

Reply via email to