digitalmars.D.bugs - [Issue 544] New: Variable declared of a deprecated type (other than a class) is not caught
- d-bugmail puremagic.com (31/31) Nov 17 2006 http://d.puremagic.com/issues/show_bug.cgi?id=544
- d-bugmail puremagic.com (9/9) Jul 09 2008 http://d.puremagic.com/issues/show_bug.cgi?id=544
http://d.puremagic.com/issues/show_bug.cgi?id=544 Summary: Variable declared of a deprecated type (other than a class) 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 The types defined in this code are all deprecated. However, the compiler fails to report a single error for the variables declared of these types. ---------- deprecated { struct DepStruct {} union DepUnion {} enum DepEnum { A } alias int DepAlias; typedef int DepTypedef; } DepStruct aStruct; DepUnion aUnion; DepEnum anEnum; DepAlias anAlias; DepTypedef aTypedef; ---------- --
Nov 17 2006
http://d.puremagic.com/issues/show_bug.cgi?id=544 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed dmd 1.032 and 2.016 --
Jul 09 2008