phobos 0.153

This commit is contained in:
Brad Roberts 2007-09-10 05:17:15 +00:00
parent 5611689b5d
commit 164dc8159b
30 changed files with 1035 additions and 386 deletions

View file

@ -98,7 +98,9 @@ byte[] _d_arraycopy(uint size, byte[] from, byte[] to)
if (to.length != from.length)
{
throw new Error(std.string.format("lengths don't match for array copy, %s = %s", to.length, from.length));
//throw new Error(std.string.format("lengths don't match for array copy, %s = %s", to.length, from.length));
throw new Error("lengths don't match for array copy," ~
toString(to.length) ~ " = " ~ toString(from.length));
}
else if (cast(byte *)to + to.length * size <= cast(byte *)from ||
cast(byte *)from + from.length * size <= cast(byte *)to)