Skip to content

cmd/doc: -src flag misbehaves on some systems [1.14 backport] #38993

@adg

Description

@adg

Under go1.14.2, if you run go doc -src strings.Compare on macOS you get a bunch of unrelated comments.

Commit 585e31d fixes this issue, but it is not applied in the current release (go1.14.2). It would be great to get this trivial fix cherry picked into the next point release.

(Apologies if I should be using @gopherbot to create this issue; I would have but there wasn't a corresponding issue for the original fix.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions