[BUG?] ProtoObject class superclass = nil

Dan Rozenfarb drozenfarb at mail.calipso.com.ar
Thu May 23 13:08:28 UTC 2002


Hi all,
I was preparing the class about metaclasses for our students, which tend to
be scared about such issues, when I got scared myself.
Much to my surprise, ProtoObject class superclass returns nil.  I was
expecting it to return Class, but nope.  Am I wrong?
For further checking, I tried Class inspect and obtained an inspector over
Class class, which is fine.  Then I looked at subclasses of it, and it DOES
contain ProtoObject class among them.
Is this a bug?

I have tried it on 2.8, several 3.2 versions and in 3.0 (which is the one
that we recommend to our students).

Regards,
Dan Rozenfarb




More information about the Squeak-dev mailing list