Thread overview
[Issue 3997] New: comparing AAs doesn't work: _aaEqual missing
Mar 21, 2010
nfxjfg@gmail.com
Mar 24, 2010
nfxjfg@gmail.com
Mar 24, 2010
nfxjfg@gmail.com
March 21, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3997

           Summary: comparing AAs doesn't work: _aaEqual missing
           Product: D
           Version: 1.057
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: nfxjfg@gmail.com


--- Comment #0 from nfxjfg@gmail.com 2010-03-21 06:58:30 PDT ---
cat aa.d
void main() {
    int[int] a;
    bool x = a == a;
}

dmd aa.d
aa.o: In function `_Dmain':
aa.d:(.text._Dmain+0xe): undefined reference to `_aaEqual'
collect2: ld returned 1 exit status
--- errorlevel 1

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 22, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3997


bearophile_hugs@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs@eml.cc


--- Comment #1 from bearophile_hugs@eml.cc 2010-03-22 06:57:13 PDT ---
Note: dmd v2.042 seems to not have this bug (but this bug report is for dmd
1.057).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 24, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3997



--- Comment #2 from nfxjfg@gmail.com 2010-03-23 18:38:49 PDT ---
The failure I reported happened only because Tango's runtime doesn't implement the _aaEqual function yet.

I thought I tested this with Phobos1, but apparently I didn't switch libraries correctly. I actually works in Phobos 1.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 24, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3997


nfxjfg@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


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