https://issues.dlang.org/show_bug.cgi?id=20033
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Dlang Bot <[email protected]> --- dlang/dmd pull request #10267 " Fix issue 20033 - Deprecation do not trigger on `alias this`" was merged into master: - c4f9506ab766bf4f3a747b45e7e646b64be96de6 by Geod24: Fix issue 20033 - Deprecation do not trigger on `alias this` Before this change, `deprecated` on `alias this` was accepted by the parser but silently ignored in semantic - as `Dsymbol` is never `deprecated`, it is done through `Declaration` and derivatives (`Dsymbol` does not have `storage_class`). This fixes `alias this` to correctly trigger a deprecation message on usage. https://github.com/dlang/dmd/pull/10267 --
