https://issues.dlang.org/show_bug.cgi?id=20081
--- Comment #1 from anonymous4 <[email protected]> --- If you need only a name, you can just generate an alias: mixin(q{ alias generatedName=staticName; }); Or forwarding: mixin(q{ void generatedName(){ staticName(); } }); void staticName() { //code here } --
