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

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.


Reply via email to