Comment #0 by bearophile_hugs — 2013-03-12T10:54:33Z
void main() {
int[2][3] a1 = [[1], [2], [3]];
}
DMD 2.063alpha gives:
temp.d(2): Error: cannot implicitly convert expression ([[1], [2], [3]]) of type int[][] to int[]
I think that error message should be improved, because I am not asking it to be converted to a 1D array.
Comment #1 by robert.schadek — 2024-12-13T18:04:50Z