E5008 Arguments Errors

Arguments

wrong number of arguments; the function expects a different count than was provided

When this occurs

`foo(1, 2)` when foo takes 3

Example error message

error[E5008]: wrong number of arguments: expected 3, got 2

How to fix

Pass the correct number of arguments as defined in the function signature.

Related errors