-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
go/doc: collect methods from embedded interfaces #2971
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
Is this about interface fields embedded in structs or interface types embedded in interface type definitions? In both cases, this is only interesting for embedded unexported interface types that contain exported methods. If there is an error embedded in a struct, that should be hidden (it's an unexported field) but the struct type should show an Error() string method. If there is an error embedded in an interface, that should be shown as 'error' in the interface definition (and is a separate issue #). Russ |
Now that error is fixed, I am assuming this is about type T interface { x } type x interface { M() } turning into (in the display) type T interface { M() } This doesn't come up in the Go source tree, so I think need not hold up Go 1. Labels changed: added priority-later, removed priority-triage. |
Copied from #16043 (closed), comment by @jimmyfrasche: related #6600 #10593 #7823 (more related issues, some fixed). |
seankhliao
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Jul 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
The text was updated successfully, but these errors were encountered: