Bug 21761 – make std.experimental.checkedint.Checked!T.toHash callable when Checked!T is shared

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-03-24T16:46:28Z
Last change time
2021-04-12T08:31:36Z
Keywords
pull
Assigned to
No Owner
Creator
Nathan S.
Blocks
21169

Comments

Comment #0 by n8sh.secondary — 2021-03-24T16:46:28Z
"Warning: struct Checked has method toHash, however it cannot be called with shared(const(Checked!(long, Abort))) this."
Comment #1 by dlang-bot — 2021-03-24T16:52:21Z
@n8sh created dlang/phobos pull request #7914 "make std.experimental.checkedint.Checked!T.toHash callable when Checked!T is shared" fixing this issue: - Fix Issue 21761 - make std.experimental.checkedint.Checked!T.toHash callable when Checked!T is shared https://github.com/dlang/phobos/pull/7914
Comment #2 by dlang-bot — 2021-04-12T08:31:36Z
dlang/phobos pull request #7914 "make std.experimental.checkedint.Checked!T.toHash callable when Checked!T is shared" was merged into master: - 98174a053faacdcdc8e31739a71149c616947580 by Nathan Sashihara: Fix Issue 21761 - make std.experimental.checkedint.Checked!T.toHash callable when Checked!T is shared https://github.com/dlang/phobos/pull/7914