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

commits at source.squeak.org commits at source.squeak.org
Thu Oct 20 20:29:24 UTC 2016


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

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

Name: Collections-nice.719
Author: nice
Time: 20 October 2016, 10:28:18.384751 pm
UUID: a873d200-0ee0-4297-aebd-510f92ea243c
Ancestors: Collections-nice.718

Let reversed preserve Interval class.
Handle the case of empty Interval specially (preserve the bounds).

=============== Diff against Collections-nice.718 ===============

Item was added:
+ ----- Method: Interval>>reversed (in category 'converting') -----
+ reversed
+ 	self isEmpty ifTrue: [^stop to: start by: step negated].
+ 	^self last to: start by: step negated!



More information about the Squeak-dev mailing list