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

--- Comment #0 from Kenji Hara <> 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:
------- You are receiving this mail because: -------

Reply via email to