[Newbies] Re: Searching senders of a method

Bert Freudenberg bert at freudenbergs.de
Sat Mar 3 13:17:32 UTC 2012


On 03.03.2012, at 14:07, deejay220989 wrote:

> I'm using 4.2..now downloading 4.3 and will try to download 4.4 alpha..will
> let you know later.


It looks like the behavior was changed in 4.3. It now excludes subclasses. Not sure why. Levente?

To get the "old" behavior you now would need to do

	SystemNavigation default allCallsOn: #subclassResponsibility localTo: ProtoObject

The size difference comes from duplicates - if you convert the result of this to a Set and compare sizes, they do match.

	(SystemNavigation default allCallsOn: #subclassResponsibility localTo: ProtoObject) size
	==> 391

	(SystemNavigation default allCallsOn: #subclassResponsibility localTo: ProtoObject) asSet size
	==> 358

This may be considered a bug, I guess.

- Bert -




More information about the Beginners mailing list