Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-09 Thread Stéphane Ducasse
I do not understand I got many old mails (may be just did not read during the sprint and after I was flying). Stef On Nov 9, 2013, at 8:28 AM, Marcus Denker wrote: > > On 09 Nov 2013, at 01:30, Stéphane Ducasse wrote: > >> marcus >> >> did you open an entry? >> > > It is already fixed in

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-08 Thread Clément Bera
This bug is fixed and integrated in Pharo 3. 2013/11/9 Stéphane Ducasse > marcus > > did you open an entry? > > Stef > > On Nov 5, 2013, at 9:51 AM, Marcus Denker wrote: > > (Object compiledMethodAt: #halt) valueWithReceiver: nil arguments: #() > > > We should update ProfStef > > Marcus > > >

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-08 Thread Marcus Denker
On 09 Nov 2013, at 01:30, Stéphane Ducasse wrote: > marcus > > did you open an entry? > It is already fixed in 3.0 and 2.0 :-) > Stef > > On Nov 5, 2013, at 9:51 AM, Marcus Denker wrote: > >> (Object compiledMethodAt: #halt) valueWithReceiver: nil arguments: #() >> >> >> We should upda

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-08 Thread Stéphane Ducasse
marcus did you open an entry? Stef On Nov 5, 2013, at 9:51 AM, Marcus Denker wrote: > (Object compiledMethodAt: #halt) valueWithReceiver: nil arguments: #() > > > We should update ProfStef > > Marcus

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-05 Thread Clément Bera
I added the issue with a slice in inbox. 2013/11/5 Marcus Denker > > On 05 Nov 2013, at 10:19, Clément Bera wrote: > > > Hello, > > > > The method that exists is #withArgs:executeMethod: so replace > > "executeMethod: someCode" ==> by ==> "withArgs: #( ) executeMethod: > someCode" > > or creat

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-05 Thread Marcus Denker
On 05 Nov 2013, at 10:19, Clément Bera wrote: > Hello, > > The method that exists is #withArgs:executeMethod: so replace > "executeMethod: someCode" ==> by ==> "withArgs: #( ) executeMethod: someCode" > or create the method: > Object>>executeMethod: compiledMethod > ^ self withArgs: #( ) e

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-05 Thread Bahman Movaqar
On 11/05/2013 12:48, Clément Bera wrote: > Hello, > > The method that exists is #withArgs:executeMethod: so replace > "executeMethod: someCode" ==> by ==> "withArgs: #( ) executeMethod: > someCode" > or create the method: > Object>>executeMethod: compiledMethod > ^ self withArgs: #( ) executeM

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-05 Thread Clément Bera
Hello, The method that exists is #withArgs:executeMethod: so replace "executeMethod: someCode" ==> by ==> "withArgs: #( ) executeMethod: someCode" or create the method: Object>>executeMethod: compiledMethod ^ self withArgs: #( ) executeMethod: compiledMethod Then it should work. You're the se

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-05 Thread Marcus Denker
On 05 Nov 2013, at 09:52, Marcus Denker wrote: > > On 05 Nov 2013, at 07:36, Bahman Movaqar wrote: > >> executeMethod: ( > > Hello, > > we removed #executeMethod: on Object because it makes no sense as there is an > API on the method > for that already. (a good hint for that is that it had

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-05 Thread Marcus Denker
On 05 Nov 2013, at 07:36, Bahman Movaqar wrote: > executeMethod: ( Hello, we removed #executeMethod: on Object because it makes no sense as there is an API on the method for that already. (a good hint for that is that it had no users). When you want to execute a method directly (not via send

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-04 Thread Joachim Tuchel
Hi, I am not sure whether Pharo implements or once implemented a special method like executeMethod: but in Smalltalk the selector for sending a message to an object is #perform: so you should probably try to replace #executeMethod with #perform: . But I am sure somebody more familiar with Prof

[Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-04 Thread Bahman Movaqar
Hi all, Reading ProfStef at lesson 25 (Reflections), when I try to run the last statement ProfStef default executeMethod: (ProfStef lookupSelector:#next)., the error pops up saying Unknown selector executeMethod:. Am I doing anything wrong? TIA, -- Bahman Movaqar (http://BahmanM.com) ERP Eva