← Back to index
|
Original Bugzilla link
Bug 18920 – core.internal.hash of array of scalars should be `@safe`
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-05-30T20:49:31Z
Last change time
2018-07-02T18:42:00Z
Assigned to
No Owner
Creator
Nathan S.
Comments
Comment #0
by n8sh.secondary — 2018-05-30T20:49:31Z
Currently doesn't work: @safe unittest { import core.internal.hash : hashOf; const x = hashOf("abc"); }
Comment #1
by n8sh.secondary — 2018-05-30T20:55:03Z
Pull request:
https://github.com/dlang/druntime/pull/2197
Comment #2
by github-bugzilla — 2018-05-31T05:11:38Z
Commits pushed to master at
https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/cb88e333c6d4989a2284c55f48c79dee74cf2457
Fix Issue 18920 - core.internal.hash of array of scalars should be `@safe`
https://github.com/dlang/druntime/commit/335cd2e44c230a170394cbebb5269beba0eb4964
Merge pull request #2197 from n8sh/core-hash-18920 Fix Issue 18920 - core.internal.hash of array of scalars should be `@safe` merged-on-behalf-of: Petar Kirov <
[email protected]
>
Comment #3
by n8sh.secondary — 2018-07-02T18:42:00Z
*** Issue 16518 has been marked as a duplicate of this issue. ***