[squeak-dev] Error selector changed
Nicolas Cellier
nicolas.cellier.aka.nice at gmail.com
Mon Apr 12 17:28:35 UTC 2021
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 Squeak-dev
mailing list
|