> Currently you can't send #ifTrue: to any object.
> 
> I did not get this interesting point.
> I know that ifTrue: ... messages are optimized with special bytecodes.
> But, implementing Halt class>>ifTrue: would work.
> What am I missing?
> 
> Thanks,

Luc indeed ifTrue: is handled specially by the compiler.
The problem is that it would have to get changed if we wanted to have something 
else.


BTW I found strange that the following does not refer to 'plop' in a way or 
another.

foo 
        self ifTrue: ['plop']


13 <70> self
14 <87> pop
15 <78> returnSelf



Reply via email to