digitalmars.D.bugs - [Issue 5561] New: Problem with map() that returns array contents
- d-bugmail puremagic.com (24/24) Feb 10 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5561
- d-bugmail puremagic.com (11/11) Oct 27 2012 http://d.puremagic.com/issues/show_bug.cgi?id=5561
- d-bugmail puremagic.com (9/9) Oct 27 2012 http://d.puremagic.com/issues/show_bug.cgi?id=5561
http://d.puremagic.com/issues/show_bug.cgi?id=5561 Summary: Problem with map() that returns array contents Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc --- Comment #0 from bearophile_hugs eml.cc 2011-02-10 14:28:48 PST --- import std.algorithm; void main() { int[] a1 = [10, 20]; auto r1 = map!((int k){ return a1[k]; })([0, 1]); // OK double[] a2 = [10.5, 20.5]; auto r2 = map!((int k){ return a2[k]; })([0, 1]); // Access Violation } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 10 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5561 hsteoh quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hsteoh quickfur.ath.cx --- Comment #2 from hsteoh quickfur.ath.cx 2012-10-27 09:37:28 PDT --- Runs fine on Linux 64-bit git HEAD (2.061 candidate). Looks like this has been fixed. Should it be closed? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 27 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5561 bearophile_hugs eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 27 2012