Bug 24267 – [REG 2.106 beta] Grapheme cannot be used as an AA key
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-11-29T21:42:48Z
Last change time
2023-12-02T17:00:23Z
Keywords
pull
Assigned to
No Owner
Creator
Steven Schveighoffer
Comments
Comment #0 by schveiguy — 2023-11-29T21:42:48Z
In the latest beta, code that uses Grapheme as an AA key fails to compile because an opEquals was added to the struct without adding a toHash.
Comment #1 by dlang-bot — 2023-11-29T21:43:46Z
@schveiguy updated dlang/phobos pull request #8855 "make it so grapheme can be used as an aa key" fixing this issue:
- Fix 24267 - make it so grapheme can be used as an aa key
https://github.com/dlang/phobos/pull/8855
Comment #2 by dlang-bot — 2023-11-29T22:27:16Z
dlang/phobos pull request #8855 "make it so grapheme can be used as an aa key" was merged into stable:
- 0fdbc2c8b480c99cf4d7dc3ec5f1aa9b9417fd78 by Steven Schveighoffer:
Fix 24267 - make it so grapheme can be used as an aa key
https://github.com/dlang/phobos/pull/8855
Comment #3 by dlang-bot — 2023-12-02T17:00:23Z
dlang/phobos pull request #8858 "merge stable" was merged into master:
- 01957e9edb5c891c4ff780e7ea92c237de619bca by Steven Schveighoffer:
Fix 24267 - make it so grapheme can be used as an aa key
https://github.com/dlang/phobos/pull/8858