Skip to content
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

Show generic signature in error message #482

Merged
merged 4 commits into from
Oct 29, 2024

Conversation

t-kalinowski
Copy link
Member

closes #480

@hadley
Copy link
Member

hadley commented Oct 25, 2024

I think it also needs to show what you need, i.e. the args to the generic.

@t-kalinowski
Copy link
Member Author

I might be misunderstanding, but it does show the generic args. Do you mean we should also show the "wrong" method args in the error message?

@hadley
Copy link
Member

hadley commented Oct 27, 2024

Oh sorry yeah, it should show both the generic and the method args.

@t-kalinowski t-kalinowski requested a review from hadley October 28, 2024 15:10
R/method-register.R Outdated Show resolved Hide resolved
Copy link
Member

@hadley hadley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks!

@t-kalinowski t-kalinowski merged commit 5935df1 into main Oct 29, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Method arg mismatch error is not actionable
2 participants