x/tools/godoc: panic with generic type with methods #50413
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Beta1 release of Go 1.18 and master through
gotip
with type parameter support.What operating system and processor architecture are you using (
go env
)?go env
Outputgotip env
OutputWhat did you do?
Add a generic (struct) type with methods:
Install and run
godoc
usinggo
orgotip
, the issue appears on both builds:From other terminal:
What did you expect to see?
HTML output of the documentation for the package
What did you see instead?
curl
terminal:godoc
terminal:Additional info:
Possibly related to #50412, although the panic seems to be limited to the
godoc
package itself.The text was updated successfully, but these errors were encountered: