[squeak-dev] Compiler pedantic about ifNotNil: argument

Igor Stasenko siguctua at gmail.com
Sun Oct 10 13:06:57 UTC 2010


On 10 October 2010 15:39, Nicolas Cellier
<nicolas.cellier.aka.nice at gmail.com> wrote:
> The compiler uselessly insist on #ifNotNil: argument being a zero/one arg block.
> Thus we cannot write this xtream sentence
>
>    process ifNotNil: #terminate.
>
> When the argument is not a block, Compiler should avoid inlining and
> just send a normal message.
>
+1

i am also missing:

someThing ifTrue: 1 ifFalse: 0

> cheers
>
> Nicolas
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list