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

Marcin Tustin mm3 at zepler.net
Thu Jul 3 03:21:24 UTC 2008

I recently came across a piece of behaviour which is (sort of)
understandable, but I wonder if it is how it is supposed to happen or not. I
was running through the potsdam seaside tutorial, and I change the
superclass of one of the objects from Object to WAComponent, and accepted
the change. All the browser tools treated the class as if its protocol
included the messages of WAComponent, but running code that sent WAComponent
messages signaled MessageNotUnderstood.

I fixed the problem by running Compiler recompileAllFrom:
'StMenuComponent'.I cannot reproduce the behaviour in a workspace with
subclasses of

Any ideas on why this happened, but is not reproduceable in the workspace,
and is it supposed to work like that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080702/4e27d3cc/attachment.htm

More information about the Beginners mailing list