http://d.puremagic.com/issues/show_bug.cgi?id=6480
Summary: std.array.array can't handle const Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: ellery-newco...@utulsa.edu --- Comment #0 from Ellery Newcomer <ellery-newco...@utulsa.edu> 2011-08-12 12:22:59 PDT --- a simple example: import std.array; const(int)[] arr = [1,2,3]; auto x = array(arr); yields: /usr/include/d/std/array.d(61): Error: result[i] isn't mutable test.d(4): Error: template instance std.array.array!(const(int)[]) error instantiating -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------