Bug 2208 – Deprecated function, etc. declarations cannot use deprecated types
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2008-07-09T06:10:00Z
Last change time
2014-03-01T00:36:32Z
Keywords
rejects-valid
Assigned to
bugzilla
Creator
clugdbug
Comments
Comment #0 by clugdbug — 2008-07-09T06:10:53Z
test.d(6): alias test.A is deprecated
Breaks Tango.
-------
deprecated {
alias real A;
void f(A x) { }
}
--------
Comment #1 by smjg — 2008-07-10T08:05:27Z
Please remember to assign keywords to bug reports. To everybody reading this: Please look through issues you've reported and check for missing keywords.
Comment #2 by clugdbug — 2008-07-11T07:10:17Z
*** Bug 2217 has been marked as a duplicate of this bug. ***
Comment #3 by smjg — 2008-07-11T07:44:18Z
Bug 2217, duped to this one, describes a slightly different issue believed to have the same underlying cause: aliases of types derived from deprecated types.