https://d.puremagic.com/issues/show_bug.cgi?id=12267

           Summary: [REG 2.065] Using struct as AA key sometimes require
                    opCmp
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Jacob Carlborg <[email protected]> 2014-02-26 09:52:08 PST ---
There's a struct declared in Tango [1] as follows:

struct TagIndex
{
    uint tag;
    uint index;
}

The above should not need to define a custom opCmp to be used as an AA key.
Unfortunately I haven't been able to find a reduced test case.

[1]
https://github.com/SiegeLord/Tango-D2/blob/94471d6b5282dde78fae8be7924fe3fa389c1900/tango/text/Regex.d#L2366-L2385

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to