https://issues.dlang.org/show_bug.cgi?id=20033

Dlang Bot <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #5 from Dlang Bot <[email protected]> ---
@Geod24 created dlang/dmd pull request #10267 " Fix issue 20033 - Deprecation
do not trigger on `alias this`" fixing this issue:

- 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

--

Reply via email to