[squeak-dev] SequenceableCollection #= method in current trunk differs from Squeak 5.2

Levente Uzonyi leves at caesar.elte.hu
Mon Jun 29 00:43:26 UTC 2020


Hi Nikolai,

On Mon, 29 Jun 2020, Nikolay Suslov wrote:

> Hello all,
> Figuring out, could we go back to the previous version of SequenceableCollection #= method (as in Squeak 5.2), to check if the receiver is equivalent to the otherCollection by using "self species == otherCollection species",
> instead of "self class = otherCollection class"?

IIRC there was a good reason for that change though I can't recall
what it was. I'm sure the mailing list remembers.

> The current version of #= method breaks code in different places. For example the RFB/VNC server gives wrong results starting from an authentication process, where RFBMessage is the ByteArray subclass and implements #species.

If you're looking for a fix, try this: 
http://leves.web.elte.hu/squeak/RFB-ul.18.mcz


Levente

> 
> Best regards,
> Nikolai
> 
>


More information about the Squeak-dev mailing list