-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
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
arity=1 is not enforced for options #27
Comments
Is that the expected behavior? I'm also surprised. Line 204 in 9133795
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An option with arity 1 does not fail if 2 values are passed.
See the example below:
Expected result: failure 2!=1
Output: failure
However for an option with arity>1, the check is correctly done
Expected result: fail because 2 values are set instead of 3
Ouput: OK
The text was updated successfully, but these errors were encountered: