[squeak-dev] problem while rehashing shrinked OrderedDictionary

Jakob Reschke jakres+squeak at gmail.com
Sun Nov 28 17:55:27 UTC 2021

I have had the same problem not too long ago.
I eventually assumed that I had done something wrong with these
dictionaries and ran a script with a combination of allInstances,
newFrom: and become: to get rid of the error.
But as you put it, it seems to be a bug after all.

Am So., 28. Nov. 2021 um 18:39 Uhr schrieb Nicolas Cellier
<nicolas.cellier.aka.nice at gmail.com>:
> Hi all,
> I got a few hiccups while updating some images.
> One of them occurred while rehashing some OrderedDictionary.
> For some reason, the dictionary was shrinked.
> Unfortunately rehash then tries to grow the 'order' ivar by a negative growSize.
> This causes an errorSubscriptBounds:
> To reproduce, simply try:
>     OrderedDictionary new compact.

More information about the Squeak-dev mailing list