We should add a test and fix that issue.

> From: "Pharo Issue Tracker" <[email protected]>
> Subject: [Pharo-bugtracker] FogBugz (Case [Issue]11237) Collection - #sorted 
> no longer copies Arrays
> Date: July 25, 2013 12:14:23 AM GMT+02:00
> To: "[email protected]" 
> <[email protected]>
> 
> A FogBugz case was opened by Sven Van Caekenberghe.
> 
> Case ID:      11237
> Title:        #sorted no longer copies Arrays
> Status:       Work Needed
> Category:     Bug
> Project:      Collection
> Area:         Misc
> Priority:     5 - Fix If Time
> Milestone:    Later
> Assigned To:  Everyone
> 
> URL:          https://pharo.fogbugz.com/default.asp?11237
> 
> It seems that the introduction of TSortable removed Array>>#sorted: which 
> made a aopy in order to honour the #sorted[:] contract of returning a new 
> collection. This is now broken for Arrays.
> 
> For example:
> 
> #(4 3 2 1) inspect; sorted
> 
> shows that the original changes, which is wrong.
> 
> I guess the fix is to reinstate this missing method.
> 
> 
> You are subscribed to this case.  If you do not want to receive automatic 
> notifications in the future, unsubscribe 
> (https://pharo.fogbugz.com/default.asp?pre=preUnsubscribe&pg=pgEditBug&command=view&ixBug=11237)
>  from this case.
> 
> _______________________________________________
> Pharo-bugtracker mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker

Reply via email to