Comment #0 by bearophile_hugs — 2012-07-15T07:48:17Z
See Issue 4662 for some context.
void main() {
const int[] a = new int[5];
int[] b = new int[5];
b[] += a[];
}
Gives, DMD 2.060alpha:
test.d(4): Error: slice cast(const(int)[])b[] is not mutable
Comment #1 by github-bugzilla — 2012-07-23T17:37:09Z