Thanks. SystemNavigation is the result of a merge between behavior defined in browser and systemdictionary so having a nice pass over it would be great. http://code.google.com/p/pharo/issues/detail?id=2592 Stef On Jun 27, 2010, at 10:01 AM, Benoit St-Jean wrote:
Fix attached.
Hope this helps!
Sure it does Benoit did you sign the license agreement? Stef
----------------- Benoit St-Jean A standpoint is an intellectual horizon of radius zero. (Albert Einstein)
From: laurent.laffont@gmail.com Date: Sun, 27 Jun 2010 08:33:52 +0200 To: pharo-project@lists.gforge.inria.fr Subject: [Pharo-project] SystemNavigation#allSendersOf: vs SystemNavigation#allReferencesTo:
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/
Enter for a chance to get your town photo on Bing.ca! Submit a Photo Now! <SystemNavigation-addSelectorsReferingTointospecialbyte.st>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project