-
Notifications
You must be signed in to change notification settings - Fork 90
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 missing functions when running impl twice #20
Comments
This seems like a reasonable request. (It is a trimmed back version of #2, but trimmed back in all the right ways.) Suggested approach:
There is some subtlety around pointer vs non-pointer receivers. Suppose you call I'd lead towards the |
This is exactly what i need, i suppose it has not been implemented or anything? @marcosnils did you do some work on it, or no? |
implemented in PR#36 |
It'd be awesome if
impl
could add the missing methods of an interface to astruct
when executed twice. What it currently does is just duplicating all the methods.If this makes sense I can try to craft a PR.
The text was updated successfully, but these errors were encountered: