Thank you very much! Uko On 02 Mar 2014, at 18:55, Nicolai Hess <nicolaihess@web.de> wrote:
Known problem (12971 CriticBrowser causes error on opening when delivering notification) The fix just waits for integration.
2014-03-02 18:31 GMT+01:00 <btc@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