[BUG]Collection>>removeAll:
goran.hultgren at bluefish.se
goran.hultgren at bluefish.se
Tue Aug 27 10:56:54 UTC 2002
Hi all!
Just saw Stephan's note about the isEmpty check not being in line with
current semantics.
So...
goran.hultgren at bluefish.se wrote:
> Collection>>removeAll: aCollection
> "Remove each element of aCollection from the receiver. If successful
> for
> each, answer aCollection. Otherwise create an error notification.
> ArrayedCollections cannot respond to this message."
>
> |aBlock|
> self isEmpty ifTrue:[^aCollection].
The above line should be removed then, regards Göran
More information about the Squeak-dev
mailing list
|