http://d.puremagic.com/issues/show_bug.cgi?id=10380
Summary: Wrong code using associative array as key type in
associative array
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: wrong-code
Severity: critical
Priority: P2
Component: druntime
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Denis Shelomovskij <[email protected]> 2013-06-16
18:10:44 MSD ---
`TypeInfo_AssociativeArray` don't override `equals` and `compare` so one get
mess if an associative array is used as a key type in an associative array.
E.g. `keyti.compare` in `_aaEqual` calls `TypeInfo`'s `compare` which always
return `0`.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------