Hi, in Autotest I search for all senders of a method. The first version used SystemNavigation#allSendersOf: which sometimes returns wrong results (I think). For example:
senders := (SystemNavigation default allSendersOf: #methodsFor:). senders size. "answers 18" senders collect: [:aReference| aReference compiledMethod]. debuggers open as ChangeSet#scanCategory doesn't exist (it's on the class side but allSendersOf: returns #scanCategory reference on class side and instance side). With #allReferencesTo: senders := (SystemNavigation default allReferencesTo: #methodsFor:). senders size. "answers 16" Is this a bug in #allSendersOf: or I don't understand ? Cheers, Laurent Laffont http://pharocasts.blogspot.com/ http://magaloma.blogspot.com/
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
