We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go version
$ go version 1.14.2
yes
go env
$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/Users/jayconrod/Library/Caches/go-build" GOENV="/Users/jayconrod/Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/jayconrod/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/opt/go/installed" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/opt/go/installed/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="" 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/rq/x0692kqj6ml8cvrhcqh5bswc008xj1/T/go-build699496132=/tmp/go-build -gno-record-gcc-switches -fno-common"
go list -e -deps does not report information on packages imported by packages that can't be loaded with go/build. This can be caused by:
go list -e -deps
go/build
#cgo
build.NoGoError and scanner.ErrorList are specifically allowed.
build.NoGoError
scanner.ErrorList
If a file's imports can be parsed, go list -e -deps should list those imports, regardless of errors parsing other files in the package.
go list -e -deps does not list imports from files without errors.
cc @matloob @bcmills
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/229243 mentions this issue: cmd/go/internal/load: load imports for all package data errors
cmd/go/internal/load: load imports for all package data errors
Sorry, something went wrong.
65f4648
No branches or pull requests
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go list -e -deps
does not report information on packages imported by packages that can't be loaded withgo/build
. This can be caused by:#cgo
directivesbuild.NoGoError
andscanner.ErrorList
are specifically allowed.What did you expect to see?
If a file's imports can be parsed,
go list -e -deps
should list those imports, regardless of errors parsing other files in the package.What did you see instead?
go list -e -deps
does not list imports from files without errors.cc @matloob @bcmills
The text was updated successfully, but these errors were encountered: