[FIX] BlockArgumentDescriptionFix ( do not accept )
Ingo Hohmann
uysl0l402 at sneakemail.com
Sun Sep 7 22:15:50 UTC 2003
Daniel Vainsencher wrote:
> I don't think you're the first to be confused this way - maybe you can
> think of wording improvements and be the last?
>
> Daniel
How about: (sorted by decreasing length)
'Number of supplied arguments does not match number of accepted arguments'
or
'This block accepts X arguments, but is called with Y arguements'
or
'This block needs to accept X arguments'
or
'This block is called with X arguments'
> Mike Roberts <mike at mjr104.co.uk> wrote:
>
>>Because the error you get is "This block requires 0 arguments" and I think, no it doesn't it needs 1. This is one of the newbie things I do all the time. I think I now see that the intent of the error, had I read the method comment correctly, is that the block you have given doesn't expect any arguments. I always read the error as you don't need any arguments for the operation, and you do, you need 1 - but only do: knows this.
>
>
>
More information about the Squeak-dev
mailing list
|