http://d.puremagic.com/issues/show_bug.cgi?id=8485
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 AssignedTo: nob...@puremagic.com ReportedBy: timon.g...@gmx.ch --- Comment #0 from timon.g...@gmx.ch 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------