https://issues.dlang.org/show_bug.cgi?id=20758

Dlang Bot <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <[email protected]> ---
@NilsLankila created dlang/dmd pull request #11183 "fix issue 20758 -
__traits(getAttributes) as template argument result…" fixing this issue:

- 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

--

Reply via email to