On Sat, 3 Mar 2012, deejay220989 wrote:
Hi,
May I know the difference between:
SystemNavigation default allCallsOn: #subclassResponsibility and ProtoObject allCallsOn: #subclassResponsibility
It seems that "ProtoObject allCallsOn: #subclassResponsibility" returns 3 results lesser than "SystemNavigation default allCallsOn: #subclassResponsibility"
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.
Levente
Thanks!
-- 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@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners