[Issue 22868] __traits(parameters) returns parameters of delegate instead of function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 11 14:29:25 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22868
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #13804 "alias parameters"
fixing this issue:
- Fix 22868 - Let __traits(parameters) see past opApply delegates
Ensure that `__traits(parameters)` consistently returns the parameters
of the enclosing function and instead of the parameters of the
`opApply` delegate (leaking an implementation detail).
Also added a bunch of tests - the parts hidden by `version (Fixed)`
fail due to another bug.
https://github.com/dlang/dmd/pull/13804
--
More information about the Digitalmars-d-bugs
mailing list