https://issues.dlang.org/show_bug.cgi?id=13850
Salih Dincer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from Salih Dincer <[email protected]> --- No problem: alias T = string; alias fun = T function(); template Fun(fun funA, fun funB) { void print() { import std.stdio : writeln; funA().writeln; funB().writeln; } } template Hun() { void print() { import std.stdio : writeln; foo().writeln; bar().writeln; } } struct S { //mixin Fun!(&foo, &bar);/*/ mixin Hun;//*/ T foo() => "First"; T bar() => "Second"; } void main() { S s; s.print(); } --
