https://issues.dlang.org/show_bug.cgi?id=17401
Walter Bright <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Walter Bright <[email protected]> --- Minimal test case: ---- void f(int x) {} void wrap(F)(F fn, S!F args) {} struct S(F) { } void test() { wrap(&f, 1); } ---- test.d(9): Error: template `test2.wrap` cannot deduce function from argument types `!()(void function(int x), int)`, candidates are: test.d(4): `test2.wrap(F)(F fn, S!F args)` --
