argument of ifNotNil: must be a 0-argument block

David T. Lewis lewis at mail.msen.com
Sun Sep 10 20:46:41 UTC 2006


On Sat, Sep 02, 2006 at 12:25:07AM +0100, Zulq Alam wrote:
> 
> Why does "Object new ifNotNil: [:object | ]" result in the syntax error 
> "argument of ifNotNil: must be a 0-argument block" when the code appears 
> to be fine with this?

I entered Mantis #4867 to track this issue.

Dave
 



More information about the Squeak-dev mailing list