2208 – Deprecated function, etc. declarations cannot use deprecated types

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2208 - Deprecated function, etc. declarations cannot use deprecated types
Summary: Deprecated function, etc. declarations cannot use deprecated types
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P2 regression
Assignee: Walter Bright
URL:
Keywords: rejects-valid
: 2217 (view as issue list)
Depends on:
Blocks:
Reported: 2008年07月09日 06:10 UTC by Don
Modified: 2014年03月01日 00:36 UTC (History)
1 user (show)

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
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 によって変換されたページ (->オリジナル) /