www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6645] New: moveAll is not trusted

http://d.puremagic.com/issues/show_bug.cgi?id=6645

           Summary: moveAll is not  trusted
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: dmitry.olsh gmail.com



10:07:03 PDT ---
Another one in  safe series.

This fails bacause moveAll is  system:

import std.algorithm;

 safe void f()
{
    int[] a = [1,2,3];
    int[] b = new int[3];
    moveAll(a, b);
    assert(a == b);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 11 2011