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
Thanks for the report!
Transferring to the gopls issue tracker. @dnywonnt In the mean time, can you share code snippet or more details on the completion request made when you observed this issue? That will help us reproduce the problem.
hyangah
changed the title
gopls: automated issue report (crash)
x/tools/gopls: panic during completion in go template (crash)
Jul 15, 2024
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
Jul 15, 2024
gopls version: v0.16.1/go1.22.0
gopls flags:
update flags: proxy
extension version: 0.41.4
environment: Visual Studio Code linux
initialization error: undefined
issue timestamp: Sun, 14 Jul 2024 07:29:06 GMT
restart history:
Sun, 14 Jul 2024 05:00:06 GMT: activation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
gopls stats -anon
{ "DirStats": { "Files": 134, "TestdataFiles": 0, "GoFiles": 40, "ModFiles": 1, "Dirs": 76 }, "GOARCH": "amd64", "GOOS": "linux", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.22.0", "GoplsVersion": "v0.16.1", "InitialWorkspaceLoadDuration": "813.282514ms", "MemStats": { "HeapAlloc": 34401120, "HeapInUse": 52289536, "TotalAlloc": 579967608 }, "WorkspaceStats": { "Files": { "Total": 2107, "Largest": 935931, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.22.0", "AllPackages": { "Packages": 338, "LargestPackage": 161, "CompiledGoFiles": 2103, "Modules": 53 }, "WorkspacePackages": { "Packages": 14, "LargestPackage": 5, "CompiledGoFiles": 40, "Modules": 1 }, "Diagnostics": 0 } ] } }OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.
NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE.
DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY.
<OPTIONAL: ATTACH LOGS HERE>
The text was updated successfully, but these errors were encountered: