You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This setting is not exposed in documentation, complicates the code, and can't be working correctly. Remove it.
I think it was intended to allow automatic go.mod mutation in combination with "allowModfileModification", but that is probably not working well, and significantly complicates our go command invocation.
In any case, I don't know how "tempModfile" is meant to be used, which is a sign that it should be removed...
The text was updated successfully, but these errors were encountered:
findleyr
added
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
labels
Aug 12, 2023
Testdata for this test includes a go.mod file, which is problematic for
a number of reasons (e.g. running from the mod cache; go work use -r).
Replace it with a regtest. But really we should just delete the
"tempModfile" setting (golang/go#61970).
Fixesgolang/go#57784
Change-Id: I79726c6106f3118d021a8f9ef52f385f1393d4a8
Reviewed-on: https://go-review.googlesource.com/c/tools/+/518976
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Peter Weinberger <pjw@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
findleyr
changed the title
x/tools/gopls: remove the "tempModfile" setting
x/tools/gopls: deprecate the "tempModfile" setting
Oct 13, 2023
This setting is not exposed in documentation, complicates the code, and can't be working correctly. Remove it.
I think it was intended to allow automatic go.mod mutation in combination with "allowModfileModification", but that is probably not working well, and significantly complicates our go command invocation.
In any case, I don't know how "tempModfile" is meant to be used, which is a sign that it should be removed...
The text was updated successfully, but these errors were encountered: