[Q, BUG?] perform:orSendTo problem?

Jason McVay jmcvay at ipa.net
Sat Oct 30 18:39:22 UTC 1999


hello again all--

i asked about this last week and only heard from one person (thanks
Torsten). however, i would like to hear from some others on this on if this
is a bug or not.

from what i understand of the #perform: selector orSendTo: otherTarget
method in both Object and Model, the receiever is supposed to be asked first
if it can handle the selector; if not, then the selector is passed off to
otherTarget. the comments in both classes says this is supposed to happen,
but the implementation in both classes seems not to ask the receiever
anything; instead, it just sends the selector onto otherTarget.

other classes such as PluggableText, StringHolder, and TranscriptStream
override this method to what looks to be the proper implementation.

why is the message implemented like this in Object and Model? what am i
missing?

thanks for your consideration and replies,
jason





More information about the Squeak-dev mailing list