[Issue 2864] intra-module use of deprecated should be allowed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 14 05:45:36 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=2864
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yebblies at gmail.com
Platform|x86 |All
Version|2.029 |D2
--- Comment #3 from yebblies <yebblies at gmail.com> 2012-02-15 00:45:34 EST ---
(In reply to comment #0)
> 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.
Is this really necessary? It sounds like it could be done using private
symbols and public deprecated symbols.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list