[Issue 8109] typeof(function) within functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Aug 9 10:27:05 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=8109
--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
@NilsLankila created dlang/dmd pull request #11538 "add
`__traits(getCurrentFunction)`" mentioning this issue:
- add `__traits(getCurrentFunction)`
- fix issue 8109
- fix issue 9306
This new traits is a shortcut allowing to call the function we
are in without using `mixin` and `__FUNCTION__` tricks.
https://github.com/dlang/dmd/pull/11538
--
More information about the Digitalmars-d-bugs
mailing list