MOREARGS

672

More argument values than declared parameters in routine routine name

When resolving a routine call to a routine declaration, the compiler selects the best matching routine declaration, irrespective of access, based on the method name, number of arguments, and types of arguments. This error is generated if the best match has fewer parameters than the call.