Skip to content

x/tools/gopls: acquire on destroyed generation in UpgradeMod #41056

@stamblerre

Description

@stamblerre

Information about the case in which this happened (I'm not able to reproduce it).
To be fair, the module I was working from was in a very bad state (a lot of Saving 'go.mod': Getting code actions from ''Go Nightly'' (configure). pop-ups.)

The change I made to bring this about was change the go.mod from:

module mod5.com

go 1.14

require (
	github.com/cockroachdb/apd/v2 v2.0.1
)

replace (
	github.com/cockroachdb/apd/v2 v2.0.1 => /Users/rstambler/code/src/golang.org/x/tools
)

to

module mod5.com

go 1.14

require (
	github.com/cockroachdb/apd/v2 v2.0.1
)

mod5.zip
gopls.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions