← Back to index
|
Original Bugzilla link
Bug 19562 – core.internal.hash.hashOf array of pointers or delegates should be `@safe`
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-01-09T04:04:46Z
Last change time
2020-01-31T09:51:38Z
Assigned to
No Owner
Creator
Nathan S.
Comments
Comment #0
by n8sh.secondary — 2019-01-09T04:04:46Z
Currently does not work: ---- void main() @nogc nothrow pure @safe { void*[10] a; size_t h = hashOf(a[]); } ----
Comment #1
by n8sh.secondary — 2019-01-09T04:12:36Z
Pull request:
https://github.com/dlang/druntime/pull/2451