Bug 16518 – hashOf is @system for dynamic arrays

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-09-21T10:18:35Z
Last change time
2018-07-02T18:42:00Z
Keywords
safe
Assigned to
No Owner
Creator
Jack Stouffer

Comments

Comment #0 by jack — 2016-09-21T10:18:35Z
As DMD gives a warning for any toHash() that is not @safe, this means that hashOf is unusable for any custom type wrapping a dynamic array
Comment #1 by n8sh.secondary — 2018-07-02T18:42:00Z
Fixed. *** This issue has been marked as a duplicate of issue 18920 ***