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

David T. Lewis lewis at mail.msen.com
Fri Mar 5 01:42:22 UTC 2010


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

  (Array with: Array) pointsTo: Array ==> true

The "points to" refers to the object pointers in the indexable fields
of an object.

Dave




More information about the Squeak-dev mailing list