the use of #pointsTo: (Re: Boolean expressions (was: Re:
[squeak-dev] Re: Object>>#is:? (was: Re: PackageDependencyTest)))
mhaupt at gmail.com
Thu Mar 4 21:47:55 UTC 2010
On Thu, Mar 4, 2010 at 10:43 PM, Igor Stasenko <siguctua at gmail.com> 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