-
Notifications
You must be signed in to change notification settings - Fork 10
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
keyword arguments for static_hasmethod
?
#27
Comments
Yeah, I am sure we can make this work. |
We were able to update KeywordCalls without this, using Also, cool package. Thanks for your work on it :) |
Yeah that is not a good as this, since it will not react to things being added interactively. |
Good point, thanks. In this case it's just there to avoid warnings for defining duplicate methods, but we should check that. I'll add an issue. |
I think Tricks ought to be able to help us with KeywordCalls, especially cscherrer/KeywordCalls.jl#16.
But
static_hasmethod
seems to be missing keyword argument support:For example, this works:
You probably couldn't call it this way to resolve it statically, but maybe this could be done by representing the symbols at the type level, as in named tuple? Or maybe there's a fundamental problem with trying to reason about keyword arguments statically?
The text was updated successfully, but these errors were encountered: