[FIX] BeforeAfterIfAbsentFix-ac (v2 tests added)

denker at iam.unibe.ch denker at iam.unibe.ch
Tue Jul 13 09:26:40 UTC 2004


from preamble:

"Change Set:		BeforeAfterIfAbsentFixV2
Date:			13 July 2004
Author:			andrew at beta4.com

Made SequenceableCollection>>before:ifAbsent: and
SequenceableCollection>>after:ifAbsent: work as advertised:
- previously, these methods raised an Error when the element passed in
is the first or last one, respectively, when they should have executed
the ifAbsent block, as the comments in the method state

V2: md: added trivial test"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BeforeAfterIfAbsentFix-ac.cs.gz
Type: application/octet-stream
Size: 755 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040713/2979ff82/BeforeAfterIfAbsentFix-ac.cs.obj


More information about the Squeak-dev mailing list