https://issues.dlang.org/show_bug.cgi?id=19084
--- Comment #2 from anonymous4 <[email protected]> --- You can reference the symbol directly: import std.format : format; struct Bar(T) { mixin("T foo;"); } unittest { struct Foo { } Bar!Foo bar; } --
d-bugmail--- via Digitalmars-d-bugs Fri, 24 Aug 2018 01:33:41 -0700
https://issues.dlang.org/show_bug.cgi?id=19084
--- Comment #2 from anonymous4 <[email protected]> --- You can reference the symbol directly: import std.format : format; struct Bar(T) { mixin("T foo;"); } unittest { struct Foo { } Bar!Foo bar; } --