[Vm-dev] Method executing but not sent to the receiver

Levente Uzonyi leves at elte.hu
Wed Apr 20 15:27:21 UTC 2011


On Wed, 20 Apr 2011, Andreas Raab wrote:

>
> On 4/20/2011 14:29, Mariano Martinez Peck wrote:
>> CompiledMethod >> valueWithReceiver: aReceiver arguments: anArray
>>     "Execute compiledMethod against the receiver and args in argArray. The 
>> receiver is the CompiledMethod"
>> 
>> <primitive: 666>
>>     self primitiveFailed
>> 
>> 
>> Where the primitive is send directly, and not a message to the receiver.
>> 
>> Is something like this available or I would need to create a new primitive?
>
> Which by the way, is the primitive that should exist, and 
> Object>>withArgs:executeMethod: should be nuked ASAP. There is no reason to 
> pollute the Object namespace any more than absolutely necessary.

Right. AFAIK #withArgs:executeMethod: and friends were part of Marcus' 
closure implementation, so there's also no need for them anymore.


Levente

>
> Cheers,
>  - Andreas
>
>


More information about the Vm-dev mailing list