-
Notifications
You must be signed in to change notification settings - Fork 18k
reflect: v.Method(i).Interface() not supported #1517
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
Labels
Milestone
Comments
Owner changed to r...@golang.org. Status changed to Accepted. |
You are asking reflect to do something that Go the language does not: give you a curried method for the expression x.Foo. I will make Interface panic in this case for now. We can revisit it once x.Foo is valid Go. I don't want to be in a position where reflect is being used to circumvent shortcomings in the language itself. Status changed to LongTerm. |
This issue was closed by revision 3be7036. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Attachments:
The text was updated successfully, but these errors were encountered: