On Sun, Aug 29, 2010 at 12:12, Holger Hans Peter Freyther
<[email protected]> wrote:
> 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)

This can probably be changed in GST too.  Where/how is this used by PP?

> and the second diff is that firstIndex 0,1 are treated equally..

This seems strange, and I think relying on it is bug-prone...

Paolo

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

Reply via email to