[Issue 21058] __traits(getOverloads) forgets "this" with third argument or if first overload is a template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 27 10:55:57 UTC 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #11432 "Fix Issue 21058 - __traits(getOverloads) forgets
"this" with third ar…" was merged into master:

- 5d78bf038f3848898f1f184141ab2349025ecaba by Richard Manthorpe:
  Fix Issue 21058 - __traits(getOverloads) forgets "this" with third argument
or if first overload is a template

  When the target of `getOverloads` is a `dotTemplateDeclaration` we weren't
  propagating the context to the overloads. Similarly when including templates
  we weren't propagating the context even if we had one. This fixed both those
  problems.

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

--


More information about the Digitalmars-d-bugs mailing list