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

Add some sort of ambiguous method hook #127

Open
camsaul opened this issue Sep 9, 2022 · 1 comment
Open

Add some sort of ambiguous method hook #127

camsaul opened this issue Sep 9, 2022 · 1 comment
Labels
enhancement New feature or request high-priority! more important than the other issues
Milestone

Comments

@camsaul
Copy link
Owner

camsaul commented Sep 9, 2022

The default implementation can throw an error for primary methods or silently do nothing for aux methods. You could implement this to do something like custom ambiguity resolution for primary methods, or log a warning if aux methods have ambiguous order if you wanted that. I think this should be a function that gets passed to the dispatcher

@camsaul camsaul added high-priority! more important than the other issues enhancement New feature or request labels Sep 9, 2022
@camsaul
Copy link
Owner Author

camsaul commented Sep 9, 2022

This would obviate #103 a bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high-priority! more important than the other issues
Projects
None yet
Development

No branches or pull requests

1 participant