Login  Register

Re: typo in MessageLookup

Posted by Paolo Bonzini-2 on Jan 30, 2012; 7:39am
URL: https://forum.world.st/typo-in-MessageLookup-tp4336704p4340271.html

On 01/28/2012 08:15 PM, Ladislav Marek wrote:

> Hi,
>
> MessageLookup.st is missing in kernel/Makefile.frag and packages.xml, see patch.
> MessageLookup>>sendTo: also reference undefined variable, patch:
>
> diff --git a/kernel/MessageLookup.st b/kernel/MessageLookup.st
> index ca495b9..e7f2bac 100644
> --- a/kernel/MessageLookup.st
> +++ b/kernel/MessageLookup.st
> @@ -71,11 +71,11 @@ but also the starting class for the search.'>
>           ^self startingClass lookupSelector: self selector
>       ]
>
> -    sendTo: receiver [
> +    sendTo: anObject [
>          "Send the message to the given receiver"
>
>          <category: 'basic'>
> -       ^receiver perform: self method with: anObject
> +       ^anObject perform: self method with: anObject

should be "withArguments: self arguments".

>       ]
>
>       startingClass: aClass [

I had fixed this locally, but I still have to push.

Thanks!

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk