[squeak-dev] Dictionary>>rehash is OK

Ralph Boland rpboland at gmail.com
Fri Jul 17 21:52:58 UTC 2009


After finding this problem in my "clean" Squeak 3.10.2
image I went back to the original image and found
that in fact  Dictionary>>rehash was in fact there.
Sorry for wasting your time.

Ralph Boland


> In my own Squeak project I have a method

> Dictionary>>rehash.

> I don't remember why I wrote this method but
> I just noticed that Dictionary>>rehash is not in
> the original  Squeak 3.10.2 code.
> Furthermore if used it should fail because
> it will inherit rehash from Set which doesn't
> work for Dictionaries.  My Dictionary>>rehash
> method is like the one in Set except
> associationsDo:  is used instead of  do:.

> Is this a bug?

>  What is the purpose of rehash anyway?



More information about the Squeak-dev mailing list