[Issue 12267] New: [REG 2.065] Using struct as AA key sometimes require opCmp

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 26 09:52:14 PST 2014


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: nobody at puremagic.com
        ReportedBy: doob at me.com


--- Comment #0 from Jacob Carlborg <doob at me.com> 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: -------


More information about the Digitalmars-d-bugs mailing list