[phobos] array appending changes to druntime

Steve Schveighoffer schveiguy at yahoo.com
Sun Feb 21 04:37:38 PST 2010


By "All Set" I meant that the patch is recreated against the current trunk and can be applied to druntime.  I don't have commit access, so I can't apply it.

-Steve



----- Original Message ----
> From: Walter Bright <walter at digitalmars.com>
> To: Discuss the phobos library for D <phobos at puremagic.com>
> Sent: Sat, February 20, 2010 7:46:56 PM
> Subject: Re: [phobos] array appending changes to druntime
> 
> 

Steve Schveighoffer wrote:
> All set:
>
>  
> 

The changes don't seem to be checked in, this still 
> fails:

unittest {
#line 950 "0350-arrays.tex"
int[] a = [0, 10, 20, 
> 30, 40, 50, 60, 70];
auto b = a[4 .. $];
a = a[0 .. 4];
// At this 
> point a and b are adjacent
a ~= [0, 0, 0, 0];
assert(b == [40, 50, 60, 
> 70]); // passes; a got reallocated
}

void 
> main(){}
_______________________________________________
phobos mailing 
> list
> href="mailto:phobos at puremagic.com">phobos at puremagic.com
http://lists.puremagic.com/mailman/listinfo/phobos


      


More information about the phobos mailing list