digitalmars.D.bugs - [Issue 6618] New: TypeInfo_Struct.equals should prefer xopEquals than pointer equality
- d-bugmail puremagic.com (31/31) Sep 07 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6618
- d-bugmail puremagic.com (10/10) Sep 07 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6618
- d-bugmail puremagic.com (11/11) Oct 10 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6618
http://d.puremagic.com/issues/show_bug.cgi?id=6618 Summary: TypeInfo_Struct.equals should prefer xopEquals than pointer equality Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: druntime AssignedTo: nobody puremagic.com ReportedBy: k.hara.pg gmail.com Following code should pass the assertion. void main() { struct S { const bool opEquals(ref const S rhs) { return false; } } S s; assert(!typeid(S).equals(&s, &s)); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 07 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6618 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch https://github.com/D-Programming-Language/druntime/pull/68 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 07 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6618 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED https://github.com/9rnsr/druntime/commit/76f732c97cd35686da670fde6af63ac1b59aabb9 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 10 2011