[Issue 23966] [REG2.102] Cannot use traits(getAttributes) with overloaded template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 8 16:14:31 UTC 2023


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

Adam D. Ruppe <destructionator at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator at gmail.com

--- Comment #1 from Adam D. Ruppe <destructionator at gmail.com> ---
this also affected me in the jsvar.d internals. i worked around by calling
getOverloads again inside the getOverloads loop.

foreach(idx, _ignored; __traits(getOverloads))
  __traits(getAttributes, __traits(getOverloads)[idx])

that kind of thing.

--


More information about the Digitalmars-d-bugs mailing list