[Issue 19562] New: core.internal.hash.hashOf array of pointers should be `@safe`
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 9 04:04:46 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19562
Issue ID: 19562
Summary: core.internal.hash.hashOf array of pointers should be
`@safe`
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: n8sh.secondary at hotmail.com
Currently does not work:
----
void main() @nogc nothrow pure @safe
{
void*[10] a;
size_t h = hashOf(a[]);
}
----
--
More information about the Digitalmars-d-bugs
mailing list