http://d.puremagic.com/issues/show_bug.cgi?id=5939
kenn...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kenn...@gmail.com --- Comment #1 from kenn...@gmail.com 2011-05-06 23:15:51 PDT --- The problem isn't copying a map, but initializing the type using 'T xSaved'. If you use 'T xSaved = x;' it compiles. A reduced example: ----------------------------- import std.algorithm; void main() { typeof(map!"a"([0])) a; } ----------------------------- x.d(3): Error: function std.algorithm.map!("a").map!(int[]).map is a nested function and cannot be accessed from main ----------------------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------