[Issue 18920] New: core.internal.hash of array of scalars should be `@safe`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 30 20:49:31 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18920

          Issue ID: 18920
           Summary: core.internal.hash of array of scalars should be
                    `@safe`
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: n8sh.secondary at hotmail.com

Currently doesn't work:
@safe unittest
{
    import core.internal.hash : hashOf;
    const x = hashOf("abc");
}

--


More information about the Digitalmars-d-bugs mailing list