respondsTo: bug/Hydra

Chris Cunnington cunnington at sympatico.ca
Thu Dec 27 09:48:46 UTC 2007


Thank you for that. I read it over a few times. Tried it in Workspace.
That¹s a really useful wrinkle, because I haven't had the hang of the
#/symbol character.

Chris 


On 12/26/07 4:21 PM, "Ralph Johnson" <johnson at cs.uiuc.edu> wrote:
> 
> It should be "Object respondsTo: #asMorph".  But in fact, you can say
> "3 respondsTo: #asMorph".  The reason that the first works is that
> Object is an instance of a subclass of Object.    #asMorph is a
> message you send to instances, not classes.
> 
> -Ralph Johnson



More information about the Squeak-dev mailing list