can you add  a bug tracker entry?

On Aug 19, 2013, at 5:34 PM, Damien Cassou <[email protected]> wrote:

> col := OrderedCollection new.
> col add: 1.
> col add: 3.
> col add: 2.
> col sorted.
> col
> 
> you will see that col is now sorted. This is wrong. We expect #sorted
> to return a sorted collection without changing the receiver.
> 
> This code
> 
> col := Array with: 1 with: 3 with: 2.
> col sorted.
> col
> 
> works as expected.
> 
> -- 
> Damien Cassou
> http://damiencassou.seasidehosting.st
> 
> "Success is the ability to go from one failure to another without
> losing enthusiasm."
> Winston Churchill
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to