digitalmars.D.bugs - [Issue 6480] New: std.array.array can't handle const
- d-bugmail puremagic.com (24/24) Aug 12 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6480
- d-bugmail puremagic.com (12/12) Apr 27 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6480
- d-bugmail puremagic.com (12/12) Jan 25 2013 http://d.puremagic.com/issues/show_bug.cgi?id=6480
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: nobody puremagic.com ReportedBy: ellery-newcomer utulsa.edu 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: -------
Aug 12 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6480 SomeDude <lovelydear mailmetrash.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lovelydear mailmetrash.com Platform|Other |All OS/Version|Linux |All PDT --- Also fails on 2.059 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 27 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6480 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich gmail.com Resolution| |WORKSFORME 14:22:00 PST --- Works in 2.060+. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 25 2013