[squeak-dev] problem while rehashing shrinked OrderedDictionary

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Sun Nov 28 19:53:17 UTC 2021


Me too.

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Jakob Reschke <jakres+squeak at gmail.com>
Gesendet: Sonntag, 28. November 2021 18:55:27
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] problem while rehashing shrinked OrderedDictionary

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.
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211128/e95a6a26/attachment.html>


More information about the Squeak-dev mailing list