digitalmars.D.bugs - [Issue 548] New: Accessing a value of a deprecated enum is not caught
- d-bugmail puremagic.com Nov 17 2006
- d-bugmail puremagic.com Jul 09 2008
http://d.puremagic.com/issues/show_bug.cgi?id=548 Summary: Accessing a value of a deprecated enum is not caught Product: D Version: 0.174 Platform: PC OS/Version: Windows Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: smjg iname.com As it happens, deprecation appears to have no effect on enums (see also issue 542, issue 543 and issue 544), but accessing one of its member values is one instance that merits its own mention. ---------- deprecated enum DepEnum { A } int x = DepEnum.A; ---------- --
Nov 17 2006
http://d.puremagic.com/issues/show_bug.cgi?id=548 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla digitalmars.com 2008-07-09 22:35 ------- Fixed dmd 1.032 and 2.016 --
Jul 09 2008








d-bugmail puremagic.com