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
The text was updated successfully, but these errors were encountered:
ianlancetaylor
changed the title
go fmt invalid memory address or nil pointer dereference
cmd/gofmt: invalid memory address or nil pointer dereference
Aug 3, 2018
ianlancetaylor
changed the title
cmd/gofmt: invalid memory address or nil pointer dereference
cmd/go: invalid memory address or nil pointer dereference running go fmt
Aug 3, 2018
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +1b870077c8 Fri Aug 3 17:21:10 2018 +0000 darwin/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?➜ echo go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/stephen/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/stephen/go"
GOPROXY=""
GORACE=""
GOROOT="/Users/stephen/dev/go"
GOTMPDIR=""
GOTOOLDIR="/Users/stephen/dev/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/stephen/dev/echo/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/xs/bs09x7hj2jqb6hq3frfzrmkh0000gp/T/go-build052705807=/tmp/go-build -gno-record-gcc-switches -fno-commo
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
it to yell at me about the package line
What did you see instead?
The text was updated successfully, but these errors were encountered: