September 11, 2011 [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 --- Comment #0 from Dmitry Olshansky <dmitry.olsh@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: ------- |
Copyright © 1999-2021 by the D Language Foundation