On 08/29/2010 06:08 PM, Paolo Bonzini wrote:

> - I don't know if Squeak supports #copyFrom:to: on Streams at all, but
> if so that may be different as well.  In GNU Smalltalk, #copyFrom:to:
> on Streams is 0-based. While inconsistent with collections, this makes
> (a lot of) sense for consistency with the values returned by
> #position.

The diff is that ReadStream>>on:from:to is assigning vars directly (GST goes
throup the collection and copyFrom:to) and the second diff is that firstIndex
0,1 are treated equally..

e.g. like this (from Pharo 1.1)
position := firstIndex <= 1
                ifTrue: [0]

So next I might copy/merge the SUnit Coverage Changes and then try to figure
out if all my position -> self position calls are correct...

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to