Currently this is accepted:

int[2] m = cast(int[2])[1, 2];

But Kenji suggests that the cast from int[] to int[2][1] should not be accepted. Do you know why?

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

Bye and thank you,
bearophile

Reply via email to