[Issue 23823] Deprecated class alias ignored completely

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 5 07:59:06 UTC 2023


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |DUPLICATE

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
I'm not sure (and the spec does not clarify this) if this should warn since you
are not effectively using the field, you are just aliasing it. An arguent can
be made both ways, but I am inclined to see this as a bug since if you are a
library maintainer that uses other libraries and you create an alias to a
deprecated symbol, your users will get a deprecation warning pointing to a
third library.

Anyway, I see this as duplicate of
https://issues.dlang.org/show_bug.cgi?id=23825 .

*** This issue has been marked as a duplicate of issue 23825 ***

--


More information about the Digitalmars-d-bugs mailing list