Closed c4p741nth closed 1 month ago
Dup of https://github.com/golang/go/issues/68334
Looks like the fix will be available in go1.22.6 and go1.23.0. (not released yet)
@c4p741nth If you build the gopls with go1.23rc2
, does it fix the problem?
GOTOOLCHAIN=go1.23rc2 go install golang.org/x/tools/gopls@latest
gopls version: v0.16.1/go1.22.5 gopls flags: update flags: proxy extension version: 0.42.0 environment: Visual Studio Code win32 initialization error: undefined issue timestamp: Wed, 31 Jul 2024 02:51:01 GMT restart history: Wed, 31 Jul 2024 02:28:43 GMT: activation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
gopls stats -anon
{ "DirStats": { "Files": 1116, "TestdataFiles": 0, "GoFiles": 192, "ModFiles": 1, "Dirs": 335 }, "GOARCH": "amd64", "GOOS": "windows", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.22.5", "GoplsVersion": "v0.16.1", "InitialWorkspaceLoadDuration": "2.0497819s", "MemStats": { "HeapAlloc": 53204168, "HeapInUse": 89612288, "TotalAlloc": 897736944 }, "WorkspaceStats": { "Files": { "Total": 2886, "Largest": 1351282, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.22.5", "AllPackages": { "Packages": 623, "LargestPackage": 148, "CompiledGoFiles": 2890, "Modules": 97 }, "WorkspacePackages": { "Packages": 57, "LargestPackage": 17, "CompiledGoFiles": 198, "Modules": 1 }, "Diagnostics": 1 } ] } }