[squeak-dev] MessageSet useUnifiedMessageLabels preference not honored in RecentMessageSet

Marcel Taeumel marcel.taeumel at hpi.de
Thu Aug 4 11:45:43 UTC 2022

> isOrdered := isOrdered or: [self class isAlwaysOrdered]

Hmpf. That was just a workaround. Let's not escalate that to something like #isAlwaysOrdered. Let's just remove that isOrdered workaround and go back to OrderedCollection again... at least for 6.1alpha.

Am 04.08.2022 13:42:52 schrieb Stéphane Rollandin <lecteur at zogotounga.net>:
Le 04/08/2022 à 12:40, Marcel Taeumel a écrit :
> Hi Stef --
> We cannot remove that method because Tim changed the OrderedCollection
> to Set in 2020 in the superclass, which Eliot then fixed
> RecentMessageSet to retain the incoming order.

Another idea: there is already a isOrdered test in

We could just add a query to the class itself, like so:

isOrdered := (anArray size > 1
and: [anArray second isMethodReference]
and: [anArray second stringVersion first = Character space]).

isOrdered := isOrdered or: [self class isAlwaysOrdered]

and then implement #isAlwaysOrdered in MessageSet class (returning
false) and in RecentMessageSet (returning true).


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

More information about the Squeak-dev mailing list