Skip to content

x/tools/gopl/internal/test/integration: WriteGoSum causes mysterious failures #74594

Open
@adonovan

Description

@adonovan

In the course of writing https://go.dev/cl/682717, we noticed that WriteGoSum causes mysterious failures that prevent gopls from reporting a type error. (I vaguely recall that the go command did not report an error for a malformed go.sum file in some case.)

The task of this issue us to uncomment the WriteGoSum call in the above CL, figure out why it causes the tests to fail, and make the necessary changes to either make it pass, or fail with an informative error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions