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 second one to ask that question I will make a fix. Are you in Pharo 2 or Pharo 3 ?
#perform: is different. #perform: takes a selector as argument and the lookup will find out the method to execute, whereas executeMethod: directly run a method with no lookup (which can lead to a crash if the receiver cannot run properly this method).