[Issue 12223] __traits(getMember,...) needed for aliases

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 1 07:11:26 UTC 2020


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

--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #11442 "Fix Issue 12223 - __traits(getMember,...) needed
for aliases" was merged into master:

- da1a31509f43547a89fd7cd694499548ba345ee0 by Richard Manthorpe:
  Issue 12223 - __traits(getMember,...) needed for aliases

  Add `__traits(child, p, c)` to interpret `c` with the `this` context set to
`p`.
  This is the opposite of `__traits(parent, c)`. `c` should be a symbol mising
it's
  `this` context, such an an alias to a member of `p`.

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

--


More information about the Digitalmars-d-bugs mailing list