D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.

Issue 2208

Summary: Deprecated function, etc. declarations cannot use deprecated types
Product: D Reporter: Don <clugdbug>
Component: dmdAssignee: Walter Bright <bugzilla>
Status: RESOLVED FIXED
Severity: regression CC: smjg
Priority: P2 Keywords: rejects-valid
Version: D1 (retired)
Hardware: x86
OS: Windows

Description Don 2008年07月09日 06:10:53 UTC
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.
Comment 2 Don 2008年07月11日 07:10:17 UTC
*** 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.
Comment 4 Don 2008年07月15日 02:05:48 UTC
Fixed DMD1.033 and DMD2.017.

AltStyle によって変換されたページ (->オリジナル) /