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
Go info
-------
go version go1.12.7 windows/amd64
set GOARCH=arm
set GOBIN=
set GOCACHE=C:\Users\kyle\AppData\Local\go-build
set GOEXE=
set GOFLAGS=-tags=gameboyadvance,arm7tdmi
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=linux
set GOPATH=C:\Users\kyle\dev\go
set GOPROXY=
set GORACE=
set GOROOT=c:\go
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set GOARM=7
set CC=gcc
set CXX=g++
set CGO_ENABLED=0
set GOMOD=C:\Users\kyle\dev\tinygo_gba\tinygo\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=-fPIC -marm -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\kyle\AppData\Local\Temp\go-build043604590=/tmp/go-build -gno-record-gcc-switches
Does this issue reproduce with the latest release?
I accidentally forgot to chop off the prefix of the file I was passing to gopls check when cd'ing into a subdirectory, and instead of an error, I got a panic stack trace.
So, I expect a failure telling me that tinygo/src/machine/machine_gameboyadvance.go doesn't exist
odeke-em
changed the title
gopls: cmd.(*connection).AddFile crashes when given a nonexistent file
x/tools/gopls: cmd.(*connection).AddFile crashes when given a nonexistent file
Aug 3, 2019
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
I accidentally forgot to chop off the prefix of the file I was passing to gopls check when cd'ing into a subdirectory, and instead of an error, I got a panic stack trace.
So, I expect a failure telling me that tinygo/src/machine/machine_gameboyadvance.go doesn't exist
What did you see instead?
The text was updated successfully, but these errors were encountered: