From merlyn@stonehenge.com Sat Sep 28 04:30:56 2002 From: merlyn@stonehenge.com To: squeak-dev@lists.squeakfoundation.org Subject: Re: [ENH] Message / Symbol / Block compatibility Date: Wed, 26 May 1999 05:05:12 -0700 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6688329897747351153==" --===============6688329897747351153== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable >>>>> "Marcel" =3D=3D Marcel Weiher writes: >> Have it return an object instantiated with a class with a superclass=20 >> of nil. Look at ObjectTracer (I think that's it) for an example that=20 >> works. Marcel> Yes, I think that's what I did: Marcel> UndefinedObject subclass: #Trampoline Marcel> instanceVariableNames: 'collection iterationMessage ' Marcel> classVariableNames: '' Marcel> poolDictionaries: '' Marcel> category: 'Collections-Support' Marcel> This may have gotten mangled between fixing a typo and creating the = Marcel> changeset. I hope the new changeset is better. No, an UndefinedObject has Object somewhere in its superclass chain. I'm talking about setting the superclass to *nil*. UndefinedObject ~=3D nil :) Here's the class definition for ObjectTracer: nil subclass: #ObjectTracer instanceVariableNames: 'tracedObject recursionFlag ' classVariableNames: '' poolDictionaries: '' category: 'Kernel-Objects' Look at it to make sure you're doing the right thing. --=20 Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095 Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying Email: Snail: (Call) PGP-Key: (finger merlyn(a)tele= port.com) Web: My Home Page! Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- = me --===============6688329897747351153==--