void main() { int i; int[] a; a = i ? [] : [1]; } bug.d(4): Error: cannot implicitly convert expression (i ? [] : cast(void[])[1]) of type void[] to int[] This error is present in 1.074, not in 1.070 and 2.059.
Works in 2.064.