[squeak-dev] Class subclasses

Florin Mateoc florin.mateoc at gmail.com
Fri Jun 13 02:45:11 UTC 2014


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.

Cheers,
Florin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140612/813a22ee/attachment-0001.htm


More information about the Squeak-dev mailing list