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


bearophile_h...@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|std.array.array of mutable  |std.array.array of const
                   |range of cost items         |items


--- Comment #1 from bearophile_h...@eml.cc 2012-01-30 17:12:30 PST ---
Simpler test case:


import std.array: array;
void main() {
    const(int)[] A = [1, 2];
    array(A);
}



DMD 2.058head:

...\dmd2\src\phobos\std\array.d(55): Error: result[i] isn't mutable
test.d(4): Error: template instance std.array.array!(const(int)[]) error
instantiating

I have also renamed this bug report.

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

Reply via email to