go-tools/go
Alan Donovan 1e9d12dd1f go/packages: pass -overlay to all 'go list' invocations
Even in the trivial go list invocations (to enumerate
modules or type sizes), the complex behavior of Go modules
requires that the appropriate overlays are visible, since
they may define go.mod files.

Also, a test case suggested by Dominik Honnef.

Fixes golang/go#67644

Change-Id: I19348ae7270769de438a7f4ce69c3f7a55fb2f55
Reviewed-on: https://go-review.googlesource.com/c/tools/+/588936
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-31 21:13:46 +00:00
..
analysis go/analysis/passes/stringintconv: post gotypesalias=1 tweak 2024-05-30 23:22:45 +00:00
ast all: fix function names in comment 2024-05-17 16:49:08 +00:00
buildutil go/buildutil: permit comma delimiters in build tags 2024-01-31 21:44:25 +00:00
callgraph go/callgraph/vta: save some heap allocations in the trie implementation 2024-05-31 16:36:38 +00:00
cfg go/cfg: publish (*CFG).Dot method 2024-03-16 22:28:19 +00:00
expect gopls: initial support for godebug directive in go.mod and go.work 2024-05-24 13:57:01 +00:00
gccgoexportdata tools: replace references to obsolete package ioutils 2023-09-12 20:13:37 +00:00
gcexportdata x/tools: don't parse CombinedOutput 2024-02-15 20:20:59 +00:00
internal go/packages: avoid unnecessary "realpath" on pwd 2024-05-31 19:15:03 +00:00
loader cmd/stringer, go/loader: use testenv.NeedsTool(t, "cgo") 2024-02-01 17:54:33 +00:00
packages go/packages: pass -overlay to all 'go list' invocations 2024-05-31 21:13:46 +00:00
ssa go/packages/internal/drivertest: a package for a fake go/packages driver 2024-05-29 21:36:25 +00:00
types go/types/typeutil: replace interface{} with any (cleanup) 2024-04-23 15:10:26 +00:00