Traits redux
arturg
var.spool.mail700 at gmail.com
Sat Mar 3 17:31:56 UTC 2018
On Saturday, 3 March 2018 at 16:20:57 UTC, JN wrote:
> https://run.dlang.io/gist/ec7008372d60ac52460dd58068f1ca6d?compiler=dmd
>
> Why only listUDA2 works and listUDA doesn't? Why do I need to
> use __traits(getMember again, if I use what I saved in a
> variable, it doesn't work :(
because getUDAs returns only instantiations and ignores templates
and scince hasUDA or getSymbolsByUDA uses it non of them work
anymore. :(
based on run.dlang.io it worked with dmd 2.071.2
More information about the Digitalmars-d-learn
mailing list