Bug 3997 – comparing AAs doesn't work: _aaEqual missing

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
Other
OS
All
Creation time
2010-03-21T06:58:00Z
Last change time
2014-02-15T02:18:55Z
Assigned to
nobody
Creator
nfxjfg

Comments

Comment #0 by nfxjfg — 2010-03-21T06:58:30Z
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
Comment #1 by bearophile_hugs — 2010-03-22T06:57:13Z
Note: dmd v2.042 seems to not have this bug (but this bug report is for dmd 1.057).
Comment #2 by nfxjfg — 2010-03-23T18:38:49Z
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.