Summary: intra-module use of deprecated should be allowed
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.