This merely shows there are no tests testing the keys method of an 
IdentityDictionary which contains objects for which hash != identityHash...

Cheers,
Henry

On Dec 4, 2009, at 9:06 25AM, Lukas Renggli wrote:

> keys
>       "Answer a Set containing the receiver's keys."
>       
>       | result container |
>       result := Set basicNew setTally: tally array: array copy.
>       container := result array.
>       1 to: container size do: [ :index |
>               (container at: index)
>                       ifNotNil: [ :assoc | container at: index put: assoc key 
> ] ].
>       ^ result


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to