[squeak-dev] The Trunk: Collections-nice.461.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Oct 2 17:16:53 UTC 2011


Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.461.mcz

==================== Summary ====================

Name: Collections-nice.461
Author: nice
Time: 2 October 2011, 7:16:20.194 pm
UUID: e364cca7-0462-4c76-90b5-ace4475101dd
Ancestors: Collections-eem.460

Let SequenceableCollection clarify the contract: it is subclassResponsibility to define #size.
Otherwise, super #size would lead to an infinite loop with #do: because of circular reference.

=============== Diff against Collections-eem.460 ===============

Item was added:
+ ----- Method: SequenceableCollection>>size (in category 'accessing') -----
+ size
+ 	^self subclassResponsibility!




More information about the Squeak-dev mailing list