-
Notifications
You must be signed in to change notification settings - Fork 147
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
The error message is misleading when setting too many attributes #3542
Labels
Comments
@maxonfjvipon can you help? |
Suban05
added a commit
to Suban05/eo
that referenced
this issue
Feb 18, 2025
Suban05
added a commit
to Suban05/eo
that referenced
this issue
Feb 19, 2025
Suban05
added a commit
to Suban05/eo
that referenced
this issue
Feb 19, 2025
Suban05
added a commit
to Suban05/eo
that referenced
this issue
Feb 19, 2025
Suban05
added a commit
to Suban05/eo
that referenced
this issue
Feb 21, 2025
Suban05
added a commit
to Suban05/eo
that referenced
this issue
Feb 21, 2025
Suban05
added a commit
to Suban05/eo
that referenced
this issue
Feb 21, 2025
Suban05
added a commit
to Suban05/eo
that referenced
this issue
Feb 21, 2025
github-merge-queue bot
pushed a commit
that referenced
this issue
Feb 21, 2025
#3542 output a clearer message when too many attributes are passed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider this code:
This will lead to error:
It's a very weird and misleading message. Apparently, it happens because
sprintf
doesn't have three void attributes, but only two. The right code is this:I suggest adding this test method to
PhDefaultTest
:Let's make it pass.
The text was updated successfully, but these errors were encountered: