mirror of
https://github.com/golang/go
synced 2024-11-18 13:04:46 -07:00
eaaaedc6af
Our logic to generate documentation links did not account for embedded fields and methods. The types.Info.ObjectOf an embedded field returns the *types.Var created for the field, not its types.TypeName, so we have to navigate back to the actual definition of the field. This requires traversing through all of the named types in the top-level type. Fixes golang/go#40294 Change-Id: Ia6573aebe66b7f60e2d6861a381cd7b07e7d7eaa Reviewed-on: https://go-review.googlesource.com/c/tools/+/244178 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> |
||
---|---|---|
.. | ||
analysisinternal | ||
apidiff | ||
event | ||
fakenet | ||
fastwalk | ||
gocommand | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
packagesinternal | ||
proxydir | ||
span | ||
stack | ||
testenv | ||
tool | ||
typesinternal | ||
xcontext |