OrderedCollection>>#add:beforeIndex:

Andres Valloud sqrmax at cvtci.com.ar
Fri Mar 12 19:14:48 UTC 1999


Hi.

The beforeIndex: part seems to be shifted one to zero. To add 6 into #(3 4 5)
asOrderedCollection one has to send

add: 6 beforeIndex: 0

instead of the more plausible beforeIndex: 1. The method has only one sender.
Would it be ok to change this somewhat odd behavior?

Andres.





More information about the Squeak-dev mailing list