[Issue 2864] New: intra-module use of deprecated should be allowed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 20 10:14:32 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2864
Summary: intra-module use of deprecated should be allowed
Product: D
Version: 2.029
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: bugzilla at digitalmars.com
Andrei Alexandrescu wrote:
> Ok, I've undeprecated rand_seed, sigh. I was hoping I'd eliminate rand() entirely from this release, but Walter pointed out it would break too much code. So I left rand() and rand_seed() as deprecated. Now I only left rand() deprecated so at least the static constructor works.
I think the right fix for that is for the compiler to not complain about
deprecated symbol usage if the usage is in the same module the deprecated
symbol is defined in.
--
More information about the Digitalmars-d-bugs
mailing list