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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 10 02:09:02 UTC 2020


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
@NilsLankila created dlang/dmd pull request #11255 "fix issue 20915 - add
support for `is(identifier == version)`" fixing this issue:

- fix issue 20915 - add support for `is(identifier == version)`

  This fills the small gap that existed because `__traits(allMembers)` could
return the identifiers of the `VersionSymbol`s defined in the source but there
was no way to identify them as such.

https://github.com/dlang/dmd/pull/11255

--


More information about the Digitalmars-d-bugs mailing list