http://d.puremagic.com/issues/show_bug.cgi?id=4662



--- Comment #6 from bearophile_h...@eml.cc 2012-07-15 04:15:20 PDT ---
The two problems of the example seems fixed. Now this program:


void main() {
    const int[] a = new int[5];
    int[] b = new int[5];
    b[] += a[];
}


Gives:
test.d(4): Error: slice cast(const(int)[])b[] is not mutable

I think is a rejects-valid.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to