x/tools/gopls: CL 237517 breaks tempModfile at startup #39681
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
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?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
govim
has a test to ensure that thetempModfile
setting does not modify ago.mod
file on startup:https://github.com/govim/govim/blob/e2a1802131f331832d667736aa27f023636f0c3a/cmd/govim/testdata/scenario_tempmodfile/modfile_changes.txt
CL 237517 appears to have broken this test:
i.e. with that CL applied, the resulting
go.mod
file after opening and savingmain.go
has been modified withgo 1.15
added (in my local tests, that's the version of Go I am using)Caught in the daily
govim
vsgopls@master
tests:https://github.com/govim/govim/actions/runs/139442828
What did you expect to see?
The test continuing to pass.
What did you see instead?
As above.
cc @stamblerre @findleyr
FYI @leitzler
The text was updated successfully, but these errors were encountered: