[Issue 7258] std.array.array of const items
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 30 17:12:32 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7258
bearophile_hugs at 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_hugs at 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: -------
More information about the Digitalmars-d-bugs
mailing list