digitalmars.D.bugs - [Issue 6645] New: moveAll is not trusted
- d-bugmail puremagic.com (26/26) Sep 11 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6645
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








d-bugmail puremagic.com