https://issues.dlang.org/show_bug.cgi?id=16093
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from [email protected] --- It's because f is local. When f is static (i.e like a free function) it works void bar(alias f)() { f(); } void main() { static void f()() { } bar!f(); } The doc is not clear about this case. So even if this is invalid the doc needs at least to list exactly what's supported or not. https://issues.dlang.org/show_bug.cgi?id=5108 --
