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

Juan Vuletich juan at jvuletich.org
Mon Apr 12 13:43:16 PDT 2021


Hi Graham,

I have just tried several times and saw no issues.

What symptoms do you see? Can you reproduce the problem? What do you 
mean by "but worse" ?

Thanks,

On 4/12/2021 4:54 PM, Graham Kelly via Cuis-dev wrote:
> 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
>>


-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich



More information about the Cuis-dev mailing list