[Issue 20915] __traits(allMembers) results include custom version identifiers, which is unusable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 9 18:13:46 UTC 2020


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

--- Comment #2 from Basile-z <b2.temp at gmx.com> ---
thanks Stanislav, that fixes the problem I encountered in particular.

Generally speaking the issue is still valid. There's no way to detect that a
member is a version identifier so using it this way:

   mixin("version(", member, ")");

is not possible.

--


More information about the Digitalmars-d-bugs mailing list