[Newbies] Changing superclass doesn't "work automatically"

Bert Freudenberg bert at freudenbergs.de
Thu Jul 3 15:44:15 UTC 2008


Am 03.07.2008 um 17:40 schrieb Randal L. Schwartz:

>>>>>> "Bert" == Bert Freudenberg <bert at freudenbergs.de> writes:
>
> Bert> Smalltalk does not work that way. If the class format changed,  
> all
> Bert> existing instance are bulk-migrated to the new class (by  
> creating new
> Bert> instances and doing a forward-become on all of them).
>
> Well, so this *is* the newbies list... I can *ask*... :)
>
> When does "anObsoleteFooClass" show up then?  I know there are  
> checks for it,
> and I think I made one once.  When does that happen?  I could probably
> investigate it myself, but maybe someone can answer this and save me  
> a half
> hour of poking around.


When the class is deleted but there are still instances of it.

- Bert -




More information about the Beginners mailing list