digitalmars.D.bugs - [Issue 8485] New: referencing a deprecated symbol should never compile
- d-bugmail puremagic.com (22/22) Jul 31 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8485
- d-bugmail puremagic.com (14/14) Mar 16 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8485
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: nobody puremagic.com ReportedBy: timon.gehr gmx.ch 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: -------
Jul 31 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8485 Stewart Gordon <smjg iname.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smjg iname.com Summary|referencing a deprecated |IsExpression referencing a |symbol should never compile |deprecated symbol evaluates | |to different values | |depending on -d switch See also issue 7482. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 16 2013