MethodX is not applicable for the arguments Ys

An argument of the wrong type is passed to a method or predicate.

Example error

from RefType t
where t.hasName(0)
select t

Here a numerical argument 0 is wrong: the declaration of hasName says that it takes a string.

Comments
Only registered users can write comments!
 
< Prev   Next >