On 05 Nov 2013, at 09:52, Marcus Denker <marcus.den...@inria.fr> wrote:
> > On 05 Nov 2013, at 07:36, Bahman Movaqar <bah...@bahmanm.com> 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 sending a method), what > you have to do: > > 1) get the method object. > 2) tell it to execute itself with #valueWithReceiver:arguments: > > so for example: > > (Object compiledMethodAt: #halt) valueWithReceiver: nil arguments: #() > and there still is withArgs: argArray executeMethod: compiledMethod For Object (which is a primitive) Marcus
signature.asc
Description: Message signed with OpenPGP using GPGMail