x/tools/godoc: index headers don't shorten verbose inline type definitions #32532
Labels
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
(moved from google/go-cmp#135)
When a declaration includes anonymous types, the index can format the declaration as something completely unreadable. For example, see the
Reporter
type in the index list ofcmp
.Note that affects
gddo
andx/tools/godoc
, but notcmd/go/doc
since I fixed this in 2016. The fundamental problem is that all thegodoc
-like tools do not share much logic in terms of how it renders the front-end, so improvements to one are not benefited by all.The text was updated successfully, but these errors were encountered: