[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] Bug in CollStream-reset or ArrayedCollection-extend?

why do you want to change it? CollStream always begins writing at the beginning of a collection. If you pass it a new collection, it begins writing from the beginning of that.
CollStream is not for appending to collections.

On Nov 21, 2004, at 11:21 AM, Scott Wilson wrote:

On 21 Nov 2004, at 18:58, James McCartney wrote:
Why do you want to remove it?

At the moment *on and on call reset:

<x-tad-smaller> *on { </x-tad-smaller><x-tad-smaller>arg</x-tad-smaller><x-tad-smaller> aCollection;
on { </x-tad-smaller><x-tad-smaller>arg</x-tad-smaller><x-tad-smaller> aCollection;
collection = aCollection;

This obliterates the collection you just passed in. So I guess I should change on to call super.reset instead?

sc-dev mailing list