[Issue 22868] __traits(parameters) returns parameters of delegate instead of function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 10 23:56:15 UTC 2022


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #13798 "Fix 22868 - Let
__traits(parameters) see past opApply delegates" fixing this issue:

- Fix 22868 - Let __traits(parameters) see past opApply delegates

  Ensure that `__traits(parameters)` consistently returns the parameters
  of the enclosing functions and doesn't return the parameters of the
  `opApply` delegate - leaking an implementation detail.

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

--


More information about the Digitalmars-d-bugs mailing list