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?11237It 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
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker