Summary: referencing a deprecated symbol should never compile
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-07-31 05:33:45 PDT ---
DMD 2.059 accepts the following code:

deprecated int x;
void main(){ static assert(!is(typeof(x))); }

It should be rejected, or symbol deprecation and the -d switch can change the
meaning of valid code.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to