Bug 16293 – hashOf should be @nogc when it can be

Status
RESOLVED
Resolution
DUPLICATE
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-07-19T00:11:18Z
Last change time
2018-07-02T18:44:55Z
Assigned to
No Owner
Creator
joeyemmons

Comments

Comment #0 by joeyemmons — 2016-07-19T00:11:18Z
What the title says, hashOf should be @nogc when it can be. In most cases it can be but bytesHash is not marked as @nogc even though I am pretty sure it could be, meaning all the versions of hashOf that depend on it can't be marked either.
Comment #1 by dev — 2016-11-01T18:07:28Z
This seems to have been done here: https://github.com/dlang/druntime/pull/1624
Comment #2 by n8sh.secondary — 2018-07-02T18:44:55Z
This wasn't done before, because the CTFE path wasn't `@nogc`, but now it is. *** This issue has been marked as a duplicate of issue 19009 ***