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
Does this issue reproduce with the latest release?
Yes. VSCode is up to date, and I updated gopls moments before.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\User\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\User\go
set GOPROXY=
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\User\projects\devout\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\User\AppData\Local\Temp\go-build351004186=/tmp/go-build -gno-record-gcc-switches
What did you do?
Edit the file below (in a sub-package of a project which has go.mod), place my caret at the position marked with [[*]], and press CTRL + Space to get suggestions.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes. VSCode is up to date, and I updated gopls moments before.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Edit the file below (in a sub-package of a project which has go.mod), place my caret at the position marked with
[[*]]
, and pressCTRL + Space
to get suggestions.What did you expect to see?
Suggestions.
What did you see instead?
This error, repeatedly, until VSCode tires and stops restarting gopls:
Hint
This bug doesn't happen when the
handleSearch
function has a body:The text was updated successfully, but these errors were encountered: