Cannot pass object type for argument as a vararg value

You’ve attempted to pass an object as a value for a variable argument. Even if a routine uses the VARARGS modifier, an object can only be passed as a declared argument; it cannot be passed as an argument beyond the declared number of arguments.