Bug 16419 – issue with ndslice.slice toHash

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-08-23T15:43:00Z
Last change time
2017-01-16T23:24:19Z
Assigned to
ilyayaroshenko
Creator
schveiguy

Comments

Comment #0 by schveiguy — 2016-08-23T15:43:48Z
The auto tester is full of this message: std\experimental\ndslice\slice.d(1779): Warning: toHash() must be declared as extern (D) size_t toHash() const nothrow @safe, not const pure nothrow @nogc @system uint() I don't know the cause, just want to report it here so it gets addressed. Possibly related: https://issues.dlang.org/show_bug.cgi?id=10045 Assigning to Ilya.
Comment #1 by cauterite — 2016-08-23T23:37:16Z
Side note: The tests are run with the `-w` flag, so they should fail. They don't because the compiler stops checking `global.warnings` after semantic3. That is a separate issue though.
Comment #2 by ilyayaroshenko — 2016-08-24T08:10:57Z
The warning is because @system.
Comment #3 by ilyayaroshenko — 2016-10-16T10:27:00Z
*** Issue 16609 has been marked as a duplicate of this issue. ***
Comment #4 by github-bugzilla — 2016-11-01T17:33:03Z
Comment #5 by github-bugzilla — 2016-12-27T13:11:06Z
Comment #6 by github-bugzilla — 2017-01-07T03:02:20Z
Comment #7 by github-bugzilla — 2017-01-16T23:24:19Z