struct Foo(int N) { int[N] bar; } void main() { auto r = Foo!(1)([1, 2]); } DMD 2.049 shows: test.d(5): Error: cannot implicitly convert expression ([1,2]) of type int[] to int But I think there are no int types here, just an int array of the wrong length.
dmd 2.069 shows the error as Error: cannot implicitly convert expression ([1, 2]) of type int[] to int[1] Would you call this fixed?
*** This issue has been marked as a duplicate of issue 8892 ***