[ENH request] self class.
Jon Hylands
jon at huv.com
Thu Oct 14 12:49:21 UTC 2004
On Thu, 14 Oct 2004 21:07:59 +1300, Michael van der Gulik
<squeakml at gulik.co.nz> wrote:
> Would it be possible to rename the primitive Object>>class to
> Object>>basicClass, and then implement Object>>class as:
In many Smalltalks, you can't override #class. Squeak is one of those --
you can comment out the primitive call in Object >> #class, and everything
still works fine. The compiler short-circuits the message, and just answers
the class (or something like that).
Later,
Jon
--------------------------------------------------------------
Jon Hylands Jon at huv.com http://www.huv.com/jon
Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
http://www.huv.com
More information about the Squeak-dev
mailing list
|