-
Notifications
You must be signed in to change notification settings - Fork 18k
reflect: CanSet returns true for unexported embedded struct fields. #7363
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
This issue was closed by revision a8a7f18. Status changed to Fixed. |
CL https://golang.org/cl/85580046 mentions this issue. |
CL https://golang.org/cl/85580046 mentions this issue. |
This issue was closed by revision c48db9a. Status changed to Fixed. |
CL https://golang.org/cl/91010047 mentions this issue. |
@mpvl has a plan! |
CL https://golang.org/cl/14010 mentions this issue. |
CL https://golang.org/cl/14085 mentions this issue. |
mpvl
added a commit
that referenced
this issue
Oct 26, 2015
This CL changes reflect to allow access to exported fields and methods in unexported embedded structs for gccgo and after gc has been adjusted to disallow access to embedded unexported structs. Adresses #12367, #7363, #11007, and #7247. Change-Id: If80536eab35abcd25300d8ddc2d27d5c42d7e78e Reviewed-on: https://go-review.googlesource.com/14010 Reviewed-by: Russ Cox <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: