help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] typo in MessageLookup


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] typo in MessageLookup
Date: Mon, 30 Jan 2012 08:39:17 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]