https://issues.dlang.org/show_bug.cgi?id=21892
ponce <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #5 from ponce <[email protected]> --- This is my +1, also hitting this. In my case, the code that does it is: foreach(memberName; __traits(allMembers, aClass)) { alias P = __traits(getMember, aClass, memberName); foreach(attr; __traits(getAttributes, P)) {{ // stuff }} } Ideally there should be a way to: - not trigger those deprecation warnings at reflection - or the ability to get __traits(allMembersNoDeprecated) --
