[squeak-dev] Undeclared -> WeakIdentityDictionary -> wrong tally -> wrong #size

Marcel Taeumel marcel.taeumel at hpi.de
Wed Feb 26 12:35:46 UTC 2020


Hi, there.

In Squeak 5.3 RC1, the size of Undeclared is wrong. It should be 1 (which is also wrong but I fixed that), but is actually 31.

WeakIdentityDictionary (HashedCollection) >> #size
   ^ tally

Well, there might be a bug lurking somewhere. Maybe an update script messed up the state of Undeclared in particular. I don't know.

What should I do? Just fix that value for tally in Undeclared?

Best,
Marcel

P.S.: The #capacity of Undeclared is 3, which is correct because the internal WeakArray array has that size.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200226/867c63f5/attachment.html>


More information about the Squeak-dev mailing list