cmd/compile: export package for _ (blank) struct fields
Blank struct fields are regular unexported fields. Two blank fields are different if they are from different packages. In order to correctly differentiate them, the compiler needs the package information. Add it to the export data. Fixes #15514. Change-Id: I421aaca22b542fcd0d66b2d2db777249cad78df6 Reviewed-on: https://go-review.googlesource.com/27639Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Showing
test/fixedbugs/issue15514.go
0 → 100644
Please register or sign in to comment