Thread overview | |||||
---|---|---|---|---|---|
|
September 07, 2011 [Issue 6618] New: TypeInfo_Struct.equals should prefer xopEquals than pointer equality | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2011-09-07 03:10:17 PDT --- 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: ------- |
September 07, 2011 [Issue 6618] TypeInfo_Struct.equals should prefer xopEquals than pointer equality | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=6618 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2011-09-07 03:18:32 PDT --- 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: ------- |
October 10, 2011 [Issue 6618] TypeInfo_Struct.equals should prefer xopEquals than pointer equality | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | 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 --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2011-10-10 15:57:00 PDT --- https://github.com/9rnsr/druntime/commit/76f732c97cd35686da670fde6af63ac1b59aabb9 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation