[Issue 11589] New: [AA] Associative arrays should reject `const`/`immutable` classes as keys unless Issue 1824 is fixed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Nov 24 00:21:05 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11589
Summary: [AA] Associative arrays should reject
`const`/`immutable` classes as keys unless Issue 1824
is fixed
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: accepts-invalid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: verylonglogin.reg at gmail.com
--- Comment #0 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2013-11-24 12:21:04 MSK ---
Currently because of Issue 1824 `opEquals`, `opCmp`, and `toHash` aren't
`const` so associative arrays should reject `const`/`immutable` classes as keys
unless that issue is fixed.
--
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