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

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



Discovered this using CollStream:

<x-tad-smaller> reset { </x-tad-smaller><x-tad-smaller>super</x-tad-smaller><x-tad-smaller>.reset; collection = collection.extend(0) }
</x-tad-smaller>

I'm not sure what this extend is there for, but it returns an empty array.

The size arg in ArrayedCollection-extend seems to indicate the final size, so I think this is not unreasonable behaviour, but I thought I should check.

Should I remove CollStream.reset?

S.