digitalmars.D.bugs - [Issue 1520] New: TypeInfo_Const.opEquals is incorrect
- d-bugmail puremagic.com Sep 19 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1520 Summary: TypeInfo_Const.opEquals is incorrect Product: D Version: 2.004 Platform: PC OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: jascha mainia.de what it does is: override int opEquals(Object o) { return base.opEquals(o); } if o is a const-type, too, it fails. most of the time, the "this is o" comparison prevents this code from being executed. --
Sep 19 2007








d-bugmail puremagic.com