Issue status update for
http://smalltalk.gnu.org/node/231Post a follow up:
http://smalltalk.gnu.org/project/comments/add/231 Project: GNU Smalltalk
Version: <none>
Component: Base classes
Category: bug reports
Priority: normal
Assigned to: Unassigned
Reported by: sdp
Updated by: sdp
Status: active
I'm uncertain if this is the proper behavior for this or not, but when
you perform #keysDo: on a MappedCollection you get the mapped key
values
which are different from the response from #keys.
Example:
st> d := Dictionary from: { #aaa -> 1. #bbb -> 2. #ccc -> 4}
Dictionary (
#aaa->1
#bbb->2
#ccc->4
)
st> m := MappedCollection collection: (Array new: 4) map: d
MappedCollection (nil nil nil )
st> m keys
Set (#aaa #bbb #ccc )
st> m keysDo: [:k | k displayNl ]
1
2
4
MappedCollection (nil nil nil )
_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk