Fwd: Re: [squeak-dev] Class subclasses

Florin Mateoc florin.mateoc at gmail.com
Sat Jun 14 17:08:02 UTC 2014


I am pretty sure this was intended for the list...


-------- Original Message --------
Subject: 	Re: [squeak-dev] Class subclasses
Date: 	Sat, 14 Jun 2014 07:22:28 -0700
From: 	Eliot Miranda <eliot.miranda at gmail.com>
To: 	Florin Mateoc <florin.mateoc at gmail.com>



Hi Florin,


On Thu, Jun 12, 2014 at 7:45 PM, Florin Mateoc <florin.mateoc at gmail.com <mailto:florin.mateoc at gmail.com>> wrote:

    On 6/12/2014 11:54 AM, Eliot Miranda wrote:
>     Hi Florin,
>
>         I think I'm correct in thinking you can always submit a proposed fix to inbox, even if you don't have commit
>     privileges to trunk.
>
>
>     On Wed, Jun 11, 2014 at 8:44 PM, Florin Mateoc <florin.mateoc at gmail.com <mailto:florin.mateoc at gmail.com>> wrote:
>
>         Hi,
>
>         I think this is an old bug, presumably since ProtoObject was introduced (and presumably because ObjectTracer
>         was used in
>         the process).
>
>         If you ask Class for its subclasses (or if you inspect it) you see that ObjectTracer class is listed along with
>         ProtoObject class, although ObjectTracer's superclass is ProtoObject.
>         This can lead to some funny bugs if you try to write some hierarchy traversing code.
>
>         Cheers,
>         Florin
>
>
>
>
>     -- 
>     best,
>     Eliot


    Hi Eliot,

    I thought the fix was obvious - we just need to evaluate "Class removeSubclass: ObjectTracer class" - so other than
    pointing out the bug, I am not sure what else I should do.


well what one could do is
a) create an update
b) create e.g. a Kernel package containing a postscript that says Class removeSubclass: ObjectTracer class
c) create another update

I *think* that forces the load of the package with the "Class removeSubclass: ObjectTracer class" postscript.  Bert, am
I right?


    Cheers,
    Florin




-- 
best,
Eliot


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140614/5c06ee5b/attachment-0001.htm


More information about the Squeak-dev mailing list