<#17703 not able to parse other go files with `gol...
# github-notifications
q
#17703 not able to parse other go files with `golang.org/x/tools/go/packages` Issue created by clsx524 Describe the bug My code is trying to parse go structs defined in another go files using
<http://golang.org/x/tools/go/packages|golang.org/x/tools/go/packages>
. It works fine with
go build
but pants is unable to find the go structs. Pants version 2.14.0 OS macos Additional info I have provided a test repo to reproduce the issue. https://github.com/clsx524/test-packages-pants if you run go test ./... it would pass the test but if run with ./pants test ::, it would fail pantsbuild/pants