void main() { int[1] a = [10]; int i; int[] b = new int[a[i]]; } This code seems correct, but the compiler prints: test.d(5): need size of rightmost array, not type a[i] (Sorry for the bad title of this bug report, I don't know a better title.)
*** This issue has been marked as a duplicate of issue 783 ***