Issue status update for
http://smalltalk.gnu.org/node/464Post a follow up:
http://smalltalk.gnu.org/project/comments/add/464 Project: GNU Smalltalk
Version: <none>
Component: Base classes
Category: bug reports
Priority: normal
Assigned to: Unassigned
Reported by: nico
Updated by: nico
Status: active
The following code doesn't work as expected:
| c |
c := OrderedCollection new.
1 to: 10 do: [:each | c add: [each]].
c collect: [:each | each value]
-> OrderedCollection (11 11 11 11 11 11 11 11 11 11 11)
It works fine using (1 to: 10) do: [...]
_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk