Ask questionsx/xerrors: fails to compile on tip

<!-- Please answer these questions before submitting your issue. Thanks! -->

What version of Go are you using (go version)?

<pre> $ go version go version devel +385b2e0cac Fri May 24 21:34:53 2019 +0000 darwin/amd64 </pre>

Does this issue reproduce with the latest release?


What operating system and processor architecture are you using (go env)?

<details><summary><code>go env</code> Output</summary><br><pre> $ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/Users/artyom/Library/Caches/go-build" GOENV="/Users/artyom/Library/Preferences/go/env" GOEXE="" GOFLAGS="-ldflags=-w" GOHOSTARCH="amd64" GOHOSTOS="darwin" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/artyom/go" GOPROXY="" GOROOT="/Users/artyom/Repositories/go" GOSUMDB="" GOTMPDIR="" GOTOOLDIR="/Users/artyom/Repositories/go/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/tmp/foo/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/lb/3rk8rqs53czgb4v35w_342xc0000gn/T/go-build219175411=/tmp/go-build -gno-record-gcc-switches -fno-common" </pre></details>

What did you do?

What did you expect to see?

Program compiles.

What did you see instead?

foo ¶ go build
/Users/artyom/go/pkg/mod/ undefined: errors.Frame
/Users/artyom/go/pkg/mod/ undefined: errors.Formatter

Answer questions cuonglm

Changes in master was reverted in


Related questions

cmd/link: segmentation fault during mach-o linking hot 3
cmd/go: needs a better error than "missing dot in first path element" when GOROOT is set incorrectly hot 2
vendor/ undefined: errors.Frame ... hot 1
cmd/go: `go clean <package>` downloads modules hot 1
cmd/cgo error: runtime: unknown pc 0x7fff5c805b86 hot 1
runtime: crash with "invalid pc-encoded table" hot 1
cmd/vet: potential false positive in the "suspect or" check hot 1
cmd/link: showing many ld warnings of "building for macOS, but linking in object file" hot 1
cmd/go: major version without preceding tag must be v0, not v1 - breaks build of hot 1
runtime: macOS Sierra builders spinning hot 1
cmd/go: Problem using go modules hot 1
cmd/go: "unrecognized import path" for local packages after updating to go1.13 hot 1
cmd/go: "found, but does not contain package" error refers to replaced version instead of its replacement hot 1
cmd/go: 'go get repo@<commit>' succeeds when <commit> is the full hash of an unpublished commit hot 1
x/tools/gopls: format feature doesn't follow `goimports` hot 1
Github User Rank List