[BUG][FIX] WeakSetCollectFix-nk

Ned Konz ned at bike-nomad.com
Tue Mar 12 03:40:32 UTC 2002


from preamble:

"Change Set:		WeakSetCollectFix-nk
Date:			11 March 2002
Author:			Ned Konz

The output of collect: when applied to a WeakSet
includes flag objects that shouldn't appear in the output.

That is, the following code:

w _ WeakSet withAll: { 1 . 2 . 3 }.
w collect: [ :ea | ea ] 

answers a Set(1 2 an Object 3)

This change set fixes this behavior.
It answers a WeakSet, which I think is appropriate, but am not sure.
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WeakSetCollectFix-nk.cs.gz
Type: application/octet-stream
Size: 543 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020311/cb67825b/WeakSetCollectFix-nk.cs.obj


More information about the Squeak-dev mailing list