[Newbies] Searching senders of a method
leves at elte.hu
Tue Mar 6 15:07:04 UTC 2012
On Sat, 3 Mar 2012, deejay220989 wrote:
> May I know the difference between:
> SystemNavigation default allCallsOn: #subclassResponsibility
> ProtoObject allCallsOn: #subclassResponsibility
> It seems that "ProtoObject allCallsOn: #subclassResponsibility" returns 3
> results lesser than "SystemNavigation default allCallsOn:
> Shouldn't they return the same result since ProtoObject is the superclass of
> all classes?
The cause of the difference in Squeak <4.3 is that Behavior >>
#allCallsOn: ignores the #thoroughSenders preference, while
SystemNavigation >> #allCallsOn: doesn't and the default value is true.
This was unified in Squeak 4.3, but due to a mistake on my part, only the
given class' methods are included in the result.
> View this message in context: http://forum.world.st/Searching-senders-of-a-method-tp4441275p4441275.html
> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
More information about the Beginners