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

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




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;
^</x-tad-smaller><x-tad-smaller>super</x-tad-smaller><x-tad-smaller>.new.on(aCollection);
}
on { </x-tad-smaller><x-tad-smaller>arg</x-tad-smaller><x-tad-smaller> aCollection;
collection = aCollection;
</x-tad-smaller><x-tad-smaller>this</x-tad-smaller><x-tad-smaller>.reset;
}
</x-tad-smaller>

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

S.