https://issues.dlang.org/show_bug.cgi?id=20758
Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #11183 "fix issue 20758 - __traits(getAttributes) as template argument result…" was merged into stable: - 5ef80bb6fdfeb538c4d28eaede8a6c8d16c53dcf by Nils Lankila: fix issue 20758 - __traits(getAttributes) as template argument results in broken template instances Using a `TupleExp` obtained by a `__traits` had for effect to instantiate a template with a `VarExp` that was never translated to a D symbol. The fix is to do the translation only when the var is for a function, which means that the intention is not to instantiate using the function *result* but well the function itself. https://github.com/dlang/dmd/pull/11183 --