[squeak-dev] problem while rehashing shrinked OrderedDictionary

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Sun Nov 28 17:39:27 UTC 2021

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
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/2c3cbd96/attachment.html>

More information about the Squeak-dev mailing list