IncorrectNumberOfArgumentsError
class IncorrectNumberOfArgumentsError(method: Located<Name>, expected: Int, actual: Arguments<*>) : CompilationError
Thrown when a function or a method is given too many or too few arguments.
Parameters
expected
The number of arguments expected by the method.
actual
The arguments that are given to the method.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard