Skip to content

cmd/go: modules discarded during resolution should not be added to go.sum #31580

@rsc

Description

@rsc

If I put a bad import into a program and run "go build",
then it looks in various modules for the import,
none of which work, but all of which end up in go.sum.
They should not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeGoCommandcmd/goNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.modules

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions