Bug 11589 – [AA] Associative arrays should reject `const`/`immutable` classes as keys unless Issue 1824 is fixed

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-24T00:21:04Z
Last change time
2024-12-13T18:14:13Z
Keywords
accepts-invalid
Assigned to
No Owner
Creator
Denis Shelomovskii
Moved to GitHub: dmd#18717 →

Comments

Comment #0 by verylonglogin.reg — 2013-11-24T00:21:04Z
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.
Comment #1 by robert.schadek — 2024-12-13T18:14:13Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18717 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB