You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That would be helpful, but also mentioning not enough/too many arguments would be the clearest I believe.
Because "parameter y not bound" sounds very vague at least to me, like some variable hasn't a value yet because lazy semantics or something.
In general I would say this error is not about binding of variables, it's about not enough/too many arguments.
For example this is what Ruby does in such a case:
$ ruby -e 'def m(a,b) = 0; m(1)'
-e:1:in `m': wrong number of arguments (given 1, expected 2) (ArgumentError)
It's very clear, compared to "parameter b not bound in call".
In #39, @eregon report:
#39 (comment)
I think he is right here, and I think the function name should be included in the error message, eg:
can be
Function parameter y not bound in call to function newParams
The text was updated successfully, but these errors were encountered: