https://issues.dlang.org/show_bug.cgi?id=24720
Nick Treleaven <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from Nick Treleaven <[email protected]> --- > 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. --
