We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right now, we don't have any support to limit the maximum number of arguments in variadic functions.
For example in assert(_: Bool, message: String), I can pass assert(10 == 10, message: "abc", "EXTRA ARGUMENT") and the checker doesn't catch it.
assert(_: Bool, message: String)
assert(10 == 10, message: "abc", "EXTRA ARGUMENT")
It would nice to be able to limit the number of arguments as well.
The text was updated successfully, but these errors were encountered:
Added with #2656
Sorry, something went wrong.
turbolent
No branches or pull requests
Issue to be solved
Right now, we don't have any support to limit the maximum number of arguments in variadic functions.
For example in
assert(_: Bool, message: String)
, I can passassert(10 == 10, message: "abc", "EXTRA ARGUMENT")
and the checker doesn't catch it.Suggested Solution
It would nice to be able to limit the number of arguments as well.
The text was updated successfully, but these errors were encountered: