Bug in nested iterations? (was: What is wrong with this?)
Yoshiki Ohshima
yoshiki at squeakland.org
Thu May 26 01:29:05 UTC 2005
Joaquin,
> map_ Som new: 30
> map from: 1 to: map size put: (FloatArray new: 4).
This sets it up so that only one FloatArray instance is created and
it will be pointed to by all the 30 slots of 'map' object.
(map first identityHash) = (map last identityHash)
will be true.
> Is this a bug in Squeak or am I missing something?
Hope this helps,
-- Yoshiki
More information about the Squeak-dev
mailing list
|