D issues are now
tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Summary: |
Deprecated function, etc. declarations cannot use deprecated types |
Product: |
D
|
Reporter: |
Don <clugdbug> |
Component: |
dmd | Assignee: |
Walter Bright <bugzilla> |
Status: |
RESOLVED
FIXED
|
Severity: |
regression
|
CC: |
smjg
|
Priority: |
P2
|
Keywords: |
rejects-valid |
Version: |
D1 (retired) |
Hardware: |
x86 |
OS: |
Windows |
test.d(6): alias test.A is deprecated
Breaks Tango.
-------
deprecated {
alias real A;
void f(A x) { }
}
--------
Comment 1
Stewart Gordon
2008年07月10日 08:05:27 UTC
Please remember to assign keywords to bug reports. To everybody reading this: Please look through issues you've reported and check for missing keywords.
*** Bug 2217 has been marked as a duplicate of this bug. ***
Comment 3
Stewart Gordon
2008年07月11日 07:44:18 UTC
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.
Fixed DMD1.033 and DMD2.017.