On Monday, 27 February 2023 at 15:39:35 UTC, Dom Disc wrote:
On Monday, 27 February 2023 at 14:27:25 UTC, bachmeier wrote:
On Monday, 27 February 2023 at 10:47:04 UTC, Mike Parker wrote:

Razvan [submitted a PR deprecating `alias this` in classes](https://github.com/dlang/dmd/pull/14812) the next day. Amaury [initiated a forum discussion](https://forum.dlang.org/thread/roaaoujwgkzednetb...@forum.dlang.org) a few days later.

Is there a replacement?

Yes. And there always was: In classes this was only an additional way to do, what should better be done with inheritance.

That is not my understanding from the linked thread. For instance, someone said it can be used as a substitute for multiple inheritance. It seems that anyone using it that way would be losing working code for no reason due to this deprecation.

Reply via email to