[Issue 24720] Can't alias __traits(getMember)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 26 11:06:25 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24720
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at geany.org
--- Comment #3 from Nick Treleaven <nick at geany.org> ---
> alias fun = instance.myFun;
Thanks, should get detected with https://github.com/dlang/dmd/pull/16813.
> Looking at the docs [1] I see that the last runnable line in the example is commented (alias c = s.j) is commented out with a "scheduled for deprecation" comment
Walter said we shouldn't add a deprecation for this (probably because if people
understood it, it might deprecate correct code):
https://github.com/dlang/dmd/pull/15863#issuecomment-1902711081
I should update that comment though.
--
More information about the Digitalmars-d-bugs
mailing list