Bug 15151 – Deprecation not triggered when aliasing a deprecated symbol using its FQN

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-10-04T14:22:19Z
Last change time
2024-12-13T18:45:05Z
Keywords
accepts-invalid, spec
Assigned to
No Owner
Creator
Vladimir Panteleev
Moved to GitHub: dmd#19053 →

Comments

Comment #0 by dlang-bugzilla — 2015-10-04T14:22:19Z
module test; deprecated int x; alias ax = x; // OK, warns alias fqax = test.x; // No warning
Comment #1 by razvan.nitu1305 — 2018-06-11T13:42:51Z
It does warn when you actually use fqax.
Comment #2 by robert.schadek — 2024-12-13T18:45:05Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19053 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB