Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/gopls: using go.work diagnostics not updated after go.mod change #51732

Closed
suzmue opened this issue Mar 16, 2022 · 2 comments
Closed
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@suzmue
Copy link
Contributor

suzmue commented Mar 16, 2022

gopls version

golang.org/x/tools/gopls v0.8.1
    golang.org/x/tools/gopls@v0.8.1 h1:q5nDpRopYrnF4DN/1o8ZQ7Oar4Yd4I5OtGMx5RyV2/8=

go env

GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/suzmue/Library/Caches/go-build"
GOENV="/Users/suzmue/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/suzmue/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/suzmue/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/suzmue/sdk/go1.18rc1"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/suzmue/sdk/go1.18rc1/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.18rc1"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/suzmue/helloWorld/go.mod"
GOWORK="/Users/suzmue/helloWorld/go.work"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

What did you do?

Wrote code with type parameters, but the go directive had a go version < 1.18

main.go:

package main

func main() {

}

func myFunc[T int](a T) {

}

go.mod:

module github.com/suzmue/helloWorld

go 1.16

go.work:

go 1.18

use .

I got a diagnostic error on [T int]. From the terminal I ran go mod edit -go=1.18.

There were no updated diagnostics sent.

What did you expect to see?

The diagnostic on [T int] to disappear.

What did you see instead?

The diagnostic remained and no diagnostics were pushed by gopls.

Editor and settings

    "go.languageServerFlags": ["-rpc.trace"],

Logs

gopls trace:
[Trace - 14:35:07.856 PM] Sending request 'initialize - (0)'.
Params: {"processId":41768,"clientInfo":{"name":"Visual Studio Code","version":"1.65.1"},"locale":"en-us","rootPath":"/Users/suzmue/helloWorld","rootUri":"file:///Users/suzmue/helloWorld","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"changeAnnotationSupport":{"groupsOnLabel":true}},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"codeLens":{"refreshSupport":true},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true,"semanticTokens":{"refreshSupport":true},"fileOperations":{"dynamicRegistration":true,"didCreate":true,"didRename":true,"didDelete":true,"willCreate":true,"willRename":true,"willDelete":true}},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]},"codeDescriptionSupport":true,"dataSupport":true},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]},"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"insertTextModeSupport":{"valueSet":[1,2]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true},"activeParameterSupport":true},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true,"tagSupport":{"valueSet":[1]},"labelSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"disabledSupport":true,"dataSupport":true,"resolveSupport":{"properties":["edit"]},"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"honorsChangeAnnotations":false},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true,"prepareSupportDefaultBehavior":1,"honorsChangeAnnotations":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true},"callHierarchy":{"dynamicRegistration":true},"semanticTokens":{"dynamicRegistration":true,"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":["relative"],"requests":{"range":true,"full":{"delta":true}},"multilineTokenSupport":false,"overlappingTokenSupport":false},"linkedEditingRange":{"dynamicRegistration":true}},"window":{"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"showDocument":{"support":true},"workDoneProgress":true},"general":{"regularExpressions":{"engine":"ECMAScript","version":"ES2020"},"markdown":{"parser":"marked","version":"1.1.0"}}},"initializationOptions":{"ui.semanticTokens":true},"trace":"off","workspaceFolders":[{"uri":"file:///Users/suzmue/helloWorld","name":"helloWorld"}]}

[Trace - 14:35:07.859 PM] Received response 'initialize - (0)' in 3ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."],"completionItem":{}},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor.extract","refactor.rewrite","source.fixAll","source.organizeImports"]},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.apply_fix","gopls.check_upgrades","gopls.edit_go_directive","gopls.gc_details","gopls.generate","gopls.generate_gopls_mod","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.regenerate_cgo","gopls.remove_dependency","gopls.run_tests","gopls.start_debugging","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor"]},"callHierarchyProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{"GoVersion":"go1.18rc1","Path":"golang.org/x/tools/gopls","Main":{"Path":"golang.org/x/tools/gopls","Version":"v0.8.1","Sum":"h1:q5nDpRopYrnF4DN/1o8ZQ7Oar4Yd4I5OtGMx5RyV2/8=","Replace":null},"Deps":[{"Path":"github.com/BurntSushi/toml","Version":"v1.0.0","Sum":"h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU=","Replace":null},{"Path":"github.com/google/go-cmp","Version":"v0.5.7","Sum":"h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o=","Replace":null},{"Path":"github.com/sergi/go-diff","Version":"v1.1.0","Sum":"h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=","Replace":null},{"Path":"golang.org/x/mod","Version":"v0.6.0-dev.0.20220106191415-9b9b3d81d5e3","Sum":"h1:kQgndtyPBW/JIYERgdxfwMYh3AVStj88WQTlNDi2a+o=","Replace":null},{"Path":"golang.org/x/sync","Version":"v0.0.0-20210220032951-036812b2e83c","Sum":"h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=","Replace":null},{"Path":"golang.org/x/sys","Version":"v0.0.0-20220209214540-3681064d5158","Sum":"h1:rm+CHSpPEEW2IsXUib1ThaHIjuBVZjxNgSKmBLFfD4c=","Replace":null},{"Path":"golang.org/x/text","Version":"v0.3.7","Sum":"h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=","Replace":null},{"Path":"golang.org/x/tools","Version":"v0.1.10-0.20220315142906-0c66750444e6","Sum":"h1:AOqgMGxa5hFduIlFkKEX87HoRPO9wjyfhqf1yqwybeg=","Replace":null},{"Path":"golang.org/x/xerrors","Version":"v0.0.0-20200804184101-5ec99f83aff1","Sum":"h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=","Replace":null},{"Path":"honnef.co/go/tools","Version":"v0.2.2","Sum":"h1:MNh1AVMyVX23VUHE2O27jm6lNj3vjO5DexS4A1xvnzk=","Replace":null},{"Path":"mvdan.cc/gofumpt","Version":"v0.3.0","Sum":"h1:kTojdZo9AcEYbQYhGuLf/zszYthRdhDNDUi2JKTxas4=","Replace":null},{"Path":"mvdan.cc/xurls/v2","Version":"v2.4.0","Sum":"h1:tzxjVAj+wSBmDcF6zBB7/myTy3gX9xvi8Tyr28AuQgc=","Replace":null}],"Settings":[{"Key":"-compiler","Value":"gc"},{"Key":"CGO_ENABLED","Value":"1"},{"Key":"CGO_CFLAGS","Value":""},{"Key":"CGO_CPPFLAGS","Value":""},{"Key":"CGO_CXXFLAGS","Value":""},{"Key":"CGO_LDFLAGS","Value":""},{"Key":"GOARCH","Value":"amd64"},{"Key":"GOOS","Value":"darwin"},{"Key":"GOAMD64","Value":"v1"}],"Version":"v0.8.1"}"}}

[Trace - 14:35:07.895 PM] Sending notification 'initialized'.
Params: {}

[Trace - 14:35:07.896 PM] Received request 'window/workDoneProgress/create - (1)'.
Params: {"token":"5577006791947779410"}

[Trace - 14:35:07.897 PM] Sending response 'window/workDoneProgress/create - (1)' in 1ms.
Result:

[Trace - 14:35:07.897 PM] Received notification '$/progress'.
Params: {"token":"5577006791947779410","value":{"kind":"begin","title":"Setting up workspace","message":"Loading packages..."}}

[Trace - 14:35:07.897 PM] Received request 'workspace/configuration - (2)'.
Params: {"items":[{"scopeUri":"file:///Users/suzmue/helloWorld","section":"gopls"}]}

[Trace - 14:35:07.901 PM] Sending response 'workspace/configuration - (2)' in 3ms.
Result: [{"ui.semanticTokens":true}]

[Trace - 14:35:07.939 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2022/03/16 14:35:07 go env for /Users/suzmue/helloWorld\n(root /Users/suzmue/helloWorld)\n(go version go version go1.18rc1 darwin/amd64)\n(valid build configuration = true)\n(build flags: [])\nGONOPROXY=\nGOPATH=/Users/suzmue/go\nGOINSECURE=\nGOMODCACHE=/Users/suzmue/go/pkg/mod\nGOFLAGS=\nGONOSUMDB=\nGOROOT=/Users/suzmue/sdk/go1.18rc1\nGOWORK=/Users/suzmue/helloWorld/go.work\nGOSUMDB=sum.golang.org\nGO111MODULE=\nGOPRIVATE=\nGOMOD=/Users/suzmue/helloWorld/go.mod\nGOPROXY=https://proxy.golang.org,direct\nGOCACHE=/Users/suzmue/Library/Caches/go-build\n\n"}

[Info - 2:35:07 PM] 2022/03/16 14:35:07 go env for /Users/suzmue/helloWorld
(root /Users/suzmue/helloWorld)
(go version go version go1.18rc1 darwin/amd64)
(valid build configuration = true)
(build flags: [])
GONOPROXY=
GOPATH=/Users/suzmue/go
GOINSECURE=
GOMODCACHE=/Users/suzmue/go/pkg/mod
GOFLAGS=
GONOSUMDB=
GOROOT=/Users/suzmue/sdk/go1.18rc1
GOWORK=/Users/suzmue/helloWorld/go.work
GOSUMDB=sum.golang.org
GO111MODULE=
GOPRIVATE=
GOMOD=/Users/suzmue/helloWorld/go.mod
GOPROXY=https://proxy.golang.org,direct
GOCACHE=/Users/suzmue/Library/Caches/go-build

[Trace - 14:35:08.334 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2022/03/16 14:35:08 go/packages.Load\n\tsnapshot=0\n\tdirectory=/Users/suzmue/helloWorld\n\tquery=[builtin github.com/suzmue/helloWorld/...]\n\tpackages=2\n"}

[Info - 2:35:08 PM] 2022/03/16 14:35:08 go/packages.Load
snapshot=0
directory=/Users/suzmue/helloWorld
query=[builtin github.com/suzmue/helloWorld/...]
packages=2

[Trace - 14:35:08.388 PM] Received notification '$/progress'.
Params: {"token":"5577006791947779410","value":{"kind":"end","message":"Finished loading packages."}}

[Trace - 14:35:08.399 PM] Received request 'client/registerCapability - (3)'.
Params: {"registrations":[{"id":"workspace/didChangeWatchedFiles-0","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/*.{go,mod,sum,work}","kind":7}]}}]}

[Trace - 14:35:08.400 PM] Sending response 'client/registerCapability - (3)' in 1ms.
Result:

[Trace - 14:35:08.400 PM] Received request 'client/registerCapability - (4)'.
Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"},{"id":"textDocument/semanticTokens","method":"textDocument/semanticTokens","registerOptions":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true}}]}

[Trace - 14:35:08.404 PM] Sending response 'client/registerCapability - (4)' in 3ms.
Result:

[Trace - 14:35:08.517 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2022/03/16 14:35:08 discovered missing identifiers: map[memRecordCycle:true pageBits:true]\n\tpackage="runtime"\n"}

[Info - 2:35:08 PM] 2022/03/16 14:35:08 discovered missing identifiers: map[memRecordCycle:true pageBits:true]
package="runtime"

[Trace - 14:35:08.727 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/suzmue/helloWorld/main.go","diagnostics":[{"range":{"start":{"line":10,"character":11},"end":{"line":10,"character":16}},"severity":1,"code":"UnsupportedFeature","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal?utm_source=gopls#UnsupportedFeature"},"source":"compiler","message":"type parameters require go1.18 or later"},{"range":{"start":{"line":10,"character":13},"end":{"line":10,"character":16}},"severity":1,"code":"UndeclaredName","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal?utm_source=gopls#UndeclaredName"},"source":"compiler","message":"undeclared name: any (requires version go1.18 or later)"}]}

[Trace - 14:35:12.013 PM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/helloWorld/main.go","languageId":"go","version":1,"text":"package main\n\nimport (\n\t"fmt"\n)\n\nfunc main() {\n\tfmt.Println("Hello World")\n}\n\nfunc hello[T any](x T) {\n\tfmt.Printf("%v", x)\n}\n"}}

[Trace - 14:35:12.014 PM] Sending request 'textDocument/codeAction - (1)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/helloWorld/main.go"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[]}}

[Trace - 14:35:12.014 PM] Sending request 'textDocument/documentSymbol - (2)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/helloWorld/main.go"}}

[Trace - 14:35:12.014 PM] Sending request 'textDocument/semanticTokens/full - (3)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/helloWorld/main.go"}}

[Trace - 14:35:12.017 PM] Received response 'textDocument/codeAction - (1)' in 3ms.
Result: null

[Trace - 14:35:12.017 PM] Received response 'textDocument/documentSymbol - (2)' in 3ms.
Result: [{"name":"main","detail":"()","kind":12,"range":{"start":{"line":6,"character":0},"end":{"line":8,"character":1}},"selectionRange":{"start":{"line":6,"character":5},"end":{"line":6,"character":9}}},{"name":"hello","detail":"(x T)","kind":12,"range":{"start":{"line":10,"character":0},"end":{"line":12,"character":1}},"selectionRange":{"start":{"line":10,"character":5},"end":{"line":10,"character":10}}}]

[Trace - 14:35:12.018 PM] Received response 'textDocument/semanticTokens/full - (3)' in 3ms.
Result: {"resultId":"2022-03-16 14:35:12.018194 -0600 MDT m=+4.246835025","data":[0,0,7,15,0,0,8,4,0,0,2,0,6,15,0,1,2,3,0,0,3,0,4,15,0,0,5,4,12,2,1,1,3,0,0,0,4,7,12,0,0,8,13,18,0,3,0,4,15,0,0,5,5,12,2,0,6,1,7,2,0,2,3,1,0,0,5,1,7,2,0,2,1,6,0,1,1,3,0,0,0,4,6,12,0,0,7,4,18,0,0,6,1,6,0]}

[Trace - 14:35:12.030 PM] Sending request 'textDocument/documentLink - (4)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/helloWorld/main.go"}}

[Trace - 14:35:12.030 PM] Received response 'textDocument/documentLink - (4)' in 0ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":5}},"target":"https://pkg.go.dev/fmt?utm_source=gopls"}]

[Trace - 14:35:12.208 PM] Sending request 'textDocument/codeLens - (5)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/helloWorld/main.go"}}

[Trace - 14:35:12.208 PM] Sending request 'textDocument/foldingRange - (6)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/helloWorld/main.go"}}

[Trace - 14:35:12.208 PM] Received response 'textDocument/codeLens - (5)' in 0ms.
Result: null

[Trace - 14:35:12.208 PM] Received response 'textDocument/foldingRange - (6)' in 0ms.
Result: [{"startLine":2,"startCharacter":8,"endLine":3,"endCharacter":6,"kind":"imports"},{"startLine":6,"startCharacter":13,"endLine":7,"endCharacter":27},{"startLine":10,"startCharacter":24,"endLine":11,"endCharacter":20}]

[Trace - 14:35:12.210 PM] Sending request 'textDocument/codeAction - (7)'.
Params: {"textDocument":{"uri":"file:///Users/suzmue/helloWorld/main.go"},"range":{"start":{"line":6,"character":13},"end":{"line":6,"character":13}},"context":{"diagnostics":[]}}

[Trace - 14:35:12.211 PM] Received response 'textDocument/codeAction - (7)' in 0ms.
Result: null

[Trace - 14:35:17.770 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///Users/suzmue/helloWorld/go.mod","type":2}]}

[Trace - 14:35:42.033 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2022/03/16 14:35:42 background imports cache refresh starting\n"}

[Info - 2:35:42 PM] 2022/03/16 14:35:42 background imports cache refresh starting

[Trace - 14:35:42.292 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2022/03/16 14:35:42 background refresh finished after 274.120591ms\n"}

[Info - 2:35:42 PM] 2022/03/16 14:35:42 background refresh finished after 274.120591ms

@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Mar 16, 2022
@gopherbot gopherbot added this to the Unreleased milestone Mar 16, 2022
@suzmue
Copy link
Contributor Author

suzmue commented Mar 16, 2022

Similar to #51325 but with go.work

@gopherbot
Copy link

Change https://go.dev/cl/393534 mentions this issue: internal/lsp: invalidate package on go.mod change with go.work

@suzmue suzmue modified the milestones: Unreleased, gopls/v0.8.2 Mar 17, 2022
@rsc rsc unassigned suzmue Jun 22, 2022
@golang golang locked and limited conversation to collaborators Jun 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

2 participants