http://d.puremagic.com/issues/show_bug.cgi?id=5939
Summary: Cannot copy std.algorithm.map Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: dsim...@yahoo.com --- Comment #0 from David Simcha <dsim...@yahoo.com> 2011-05-06 22:35:37 PDT --- import std.algorithm; void fun(T)(T x) { T xSaved; } unittest { double[] x; fun(map!"a * a"(x)); } DMD 2.053 beta: test9.d(4): Error: function std.algorithm.map!("a * a").map!(double[]).map is a nested function and cannot be accessed from __unittest1 test9.d(4): Error: function std.algorithm.map!("a * a").map!(double[]).map is a nested function and cannot be accessed from fun -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------