[Cuis-dev] [squeak-dev] Error selector changed

Graham Kelly gkgoat6700 at gmail.com
Mon Apr 12 12:54:55 PDT 2021


Hmm... something similar but worse happens in Cuis.



Graham

On 4/12/21 1:28 PM, Nicolas Cellier wrote:
> Hi all,
>  From time to time, (Compiler recompileAll) fails because some selector
> identity changed...
>
> Indeed, following snippet should always be true, but is sometimes false:
>
>      selector == (Symbol findInterned: selector asString).
>
> In such case, I can attempt a doIt and continue:
>
>      selector beWritableObject; becomeForward: (Symbol findInterned:
> selector asString).
>      oldClass methodDictionary rehash
>
> Sometimes I'm tempted to integrate the workaround directly in code,
> but it would just mask a problem. Any clue on how this can happen?
>
> Nicolas
>


More information about the Cuis-dev mailing list