Bug 19331 – std.regex.internal.ir.SmallFixedArray.toHash is ignored because it's non-const

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-10-25T07:20:07Z
Last change time
2018-10-25T08:38:57Z
Assigned to
No Owner
Creator
Nathan S.

Comments

Comment #0 by n8sh.secondary — 2018-10-25T07:20:07Z
std.regex.internal.ir.SmallFixedArray defines a non-const `toHash` function that is ignored by TypeInfo.getHash due to not being const.
Comment #1 by n8sh.secondary — 2018-10-25T07:25:34Z
Comment #2 by github-bugzilla — 2018-10-25T08:38:56Z
Commit pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/725278b2ceb06dee2ccd5899d10a0ca1f542fec3 Fix Issue 19331 - std.regex.internal.ir.SmallFixedArray.toHash is ignored because it's non-const