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: nob...@puremagic.com
        ReportedBy: dmitry.o...@gmail.com


--- Comment #0 from Dmitry Olshansky <dmitry.o...@gmail.com> 2011-09-11 
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: -------

Reply via email to