[Issue 20033] alias this does not support `deprecated` attribute
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 5 12:28:37 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20033
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Dlang Bot <dlang-bot at dlang.rocks> ---
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
--
More information about the Digitalmars-d-bugs
mailing list