[Issue 13269] Traits hasMember, getMember and compiles get buggy with opDispatch
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 12 09:22:21 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=13269
--- Comment #4 from FeepingCreature <default_357-line at yahoo.de> ---
Note: it's actually not possible rn with `hasMember` to check if a *type* has a
member without also (brokenly) checking if an expression of the type has the
member. The only option is `__traits(compiles, Type.member)`.
--
More information about the Digitalmars-d-bugs
mailing list