If you need a testcase, just run this code on 8.0.2 and 7.5.1, the order will be different afterwards:
- Code: Select all
(OrderedCollection with: '11' with: '12') asSortedCollection: [:a :b |
(a size ~= b size) ifTrue: [
a size > b size.
The most interesting point is: If you try to debug that test case, it will return the 7.5.1 result. Only when it is executed as a single block, it returns a different result. Therefore I removed my theory of where the bug is located (which you might have seen in the first version of this post).