[Newbies] Re: anObject select: #aMethodName -- is this good Squeak?
Klaus D. Witzel
klaus.witzel at cobss.com
Thu Feb 8 13:06:00 UTC 2007
On Thu, 08 Feb 2007 12:15:34 +0100, Giovanni Corriga wrote:
> Il giorno gio, 08/02/2007 alle 11.37 +0100, Klaus D. Witzel ha scritto:
>> On Thu, 08 Feb 2007 10:21:53 +0100, Giovanni Corriga wrote:
>> > Does it? I tried browsing for senders on a 3.9 image before sending my
>> > message, and it didn't work.
>> What was that symbol (for reproduction)?
>> FWIW in #thoroughWhichSelectorsReferTo:special:byte: it is sought for
>> #allButLast of the method's literals. This can be a problem if the
>> wasn't (re-)created after the image was traitified.
>> Also, SystemNavigation>>#allCallsOn: is influenced by (Preferences
> Ok, looking for senders from the Method Finder and/or the Message Finder
> works. But clicking on the Senders button on the browser doesn't show
> the symbol with the other selectors.
> I tested this by creating a bogus class and adding a method with this:
> #(1 2 3) select: #even.
> thoroughSenders is set.
I tested: in IntegerTest>>#testEven I added a line at the end
self assert: (1 perform: #odd)
Now senders of #odd, when selecting 'odd' and doing alt-n, includes the
But the browser's "senders" button apparently is not in sync with the much
better capabilities of #allCallsOn: and #thoroughSenders. I must say that
this was the first time ever that I used this particular button ;-)
More information about the Beginners