https://issues.dlang.org/show_bug.cgi?id=16705
berni44 <bugzi...@d-ecke.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzi...@d-ecke.de --- Comment #11 from berni44 <bugzi...@d-ecke.de> --- Not sure, if this helps. With the help of dustmite I reduced the example and Phobos to the following code: --- void main() { TaskPool pool; pool.reduce(map!(a=>1)); } struct Task(Args) { Args a; } struct TaskPool { auto reduce(Args)(Args args) { return Task!(typeof(args))(); } } auto map(fun...)() { return MapResult!fun(); } struct MapResult(alias fun) { void x() {} } --- --