Known problem (12971
<https://pharo.fogbugz.com/default.asp?12971>CriticBrowser causes
error on opening when delivering notification)
The fix just waits for integration.



2014-03-02 18:31 GMT+01:00 <b...@openinworld.com>:

> Yuriy Tymchuk wrote:
>
>> Hi guys.
>>
>> When I run critics on my code i get: 'This block accepts 2 arguments, but
>> was called with 1 argument.'. I'm not sure whose problem it is, but the
>> related block is [ :a :b | self menu: a shifted: b ]. Any ideas?
>>
>> Uko
>>
>>
>>
> What method is the block being passed to ?  It would seem that is
> expecting a block with one argument and you are passing in a block with two
> arguments. Try evaluating the following in Workspace....
>
>    [ :a :b | self menu: a shifted: b ] value
>
>    [ :a :b | self menu: a shifted: b ] value: 1
>
>
> cheers -ben
>
>
>

Reply via email to