[Issue 24480] getSymbolsByUDA ignores template functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 5 22:27:01 UTC 2024


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

Jonathan M Davis <issues.dlang at jmdavisProg.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |issues.dlang at jmdavisProg.co
                   |                            |m

--- Comment #1 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
Yeah, __traits(getOverloads, ...) won't give you templated overloads unless you
tell it to - and in the general case, it really isn't going to work well to get
attributes from a templated function because of attribute inference. However,
for UDAs, they should be there regardless.

--


More information about the Digitalmars-d-bugs mailing list