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



--- Comment #7 from yebblies <yebbl...@gmail.com> 2012-07-15 23:05:17 EST ---
(In reply to comment #6)
> 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.

Yes, my mistake.

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

Reply via email to