digitalmars.D.bugs - [Issue 1622] New: parameters to TypeInfo_Struct.compare seem to be switched around.
- d-bugmail puremagic.com (19/19) Oct 28 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1622
- d-bugmail puremagic.com (9/9) Jul 11 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1622
- d-bugmail puremagic.com (9/9) Aug 14 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1622
http://d.puremagic.com/issues/show_bug.cgi?id=1622 Summary: parameters to TypeInfo_Struct.compare seem to be switched around. Product: D Version: 1.022 Platform: PC OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzilla digitalmars.com ReportedBy: tomas famolsen.dk TypeInfo_Struct.compare in the implementation of 'module object;' is declared as: int compare(void *p2, void *p1); I think p2 and p1 should be reversed. This makes sense from the calls to xopCmp and memcmp. --
Oct 28 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1622 tomas famolsen.dk changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial ------- Comment #1 from tomas famolsen.dk 2008-07-11 13:52 ------- this is an obvious and easy to fix error. shouldn't really take about a year to fix! --
Jul 11 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1622 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from bugzilla digitalmars.com 2008-08-14 02:59 ------- Fixed dmd 1.034 and 2.018 --
Aug 14 2008