the use of #pointsTo: (Re: Boolean expressions (was: Re: [squeak-dev] Re: Object>>#is:? (was: Re: PackageDependencyTest)))

Michael Haupt mhaupt at
Thu Mar 4 21:47:55 UTC 2010

Hi Igor,

On Thu, Mar 4, 2010 at 10:43 PM, Igor Stasenko <siguctua at> wrote:
> Btw, i find it surprising that:
> Array new pointsTo: Array
> answering false.
> An instance of class is always points to its class, no?

doesn't #pointsTo: only take indexable / named fields into account?
The class is encoded in the header, that might well be out of scope.
Also, Array is a special class (fast lookup from 1-word header),
right? So the pointer is even less easy to extract. :-P

I need to go to sleep now. :-)



More information about the Squeak-dev mailing list