www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18920] New: core.internal.hash of array of scalars should be

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 puremagic.com
          Reporter: n8sh.secondary hotmail.com

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

--
May 30 2018