tools/internal
Rob Findley 8c3ba8c103 internal/refactor: undo variadic elimination during substitution
When substituting an argument that has been synthetically packed into a
composite literal expression, into the varadic argument of a call, we
can undo the variadic elimination and unpack the arguments into the
call.

Fixes golang/go#63717
Fixes golang/go#69441

Change-Id: I8a48664b2e6486ca492e03e233b8600473e9d1a9
Reviewed-on: https://go-review.googlesource.com/c/tools/+/629136
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-11-20 19:06:21 +00:00
..
aliases all: fix x/tools tests that fail with a go1.23.1 go.work file 2024-10-28 22:46:16 +00:00
analysisinternal internal/analysisinternal: unify zero value function to typesinternal 2024-11-20 16:07:55 +00:00
apidiff internal/aliases: remove Alias and Unalias 2024-09-20 19:51:09 +00:00
astutil gopls/internal/lsp: add code actions to remove unused parameters 2023-10-16 14:27:29 +00:00
bisect internal/bisect: fix doc comment api links 2024-07-17 21:42:50 +00:00
diff all: fix some typos in comments 2024-04-22 15:08:19 +00:00
diffp internal/diffp: add patience diff from main repo 2023-05-05 00:46:00 +00:00
drivertest go/packages: add Dir and ForTest fields to Package 2024-11-08 18:44:44 +00:00
edit internal/edit: copy cmd/internal/edit 2023-07-31 12:54:44 +00:00
event gopls: normalize logging attributes 2024-04-26 20:08:17 +00:00
expect internal/expect: support named arguments f(a, b, c=d, e="f") 2024-11-06 21:25:26 +00:00
facts internal/facts: use alias type parameters and arguments during imports 2024-11-18 18:50:39 +00:00
fakenet internal/fakenet: add a fake network connection 2020-05-27 14:27:59 +00:00
gcimporter all: fix x/tools tests that fail with a go1.23.1 go.work file 2024-10-28 22:46:16 +00:00
gocommand x/tools: assume go1.22 and simplify 2024-09-20 21:11:01 +00:00
gopathwalk internal/gopathwalk: walk directories concurrently 2024-02-06 18:40:19 +00:00
goroot internal/gcimporter: load cached export data for packages individually 2022-12-02 18:23:46 +00:00
imports internal/imports: test Source for go mod cache 2024-11-20 12:37:14 +00:00
jsonrpc2 gopls: allow for asynchronous request handling 2024-10-18 20:45:24 +00:00
jsonrpc2_v2 gopls: normalize logging attributes 2024-04-26 20:08:17 +00:00
memoize internal/memoize: fix race in Store.Promise 2022-07-28 15:35:11 +00:00
modindex internal/modindex: better behavior in edge cases 2024-11-12 14:35:26 +00:00
packagesinternal go/packages: add Dir and ForTest fields to Package 2024-11-08 18:44:44 +00:00
packagestest internal/packagestest: fork go/packages/packagestest 2024-11-06 21:04:09 +00:00
pkgbits internal/pkgbits: cleanup pre-Go 1.17 workaround 2024-08-30 22:00:18 +00:00
pprof internal/pprof: a function to compute total pprof time 2023-07-06 20:34:16 +00:00
proxydir x/tools: assume go1.22 and simplify 2024-09-20 21:11:01 +00:00
refactor/inline internal/refactor: undo variadic elimination during substitution 2024-11-20 19:06:21 +00:00
robustio x/tools: drop go1.18 support 2024-02-29 16:54:26 +00:00
stack all: gofmt 2022-04-12 17:53:17 +00:00
stdlib internal/stdlib: update stdlib index for Go 1.23.0 2024-08-13 17:00:02 +00:00
testenv gopls/internal/test: fix path to local go in integration tests 2024-11-04 16:34:04 +00:00
testfiles go/callgraph: rewrite tests to use go/packages not go/loader 2024-09-22 20:55:56 +00:00
tokeninternal x/tools: assume go1.22 and simplify 2024-09-20 21:11:01 +00:00
tool gopls/internal/test/integration/bench: add an IWL test that opens files 2024-09-26 14:44:37 +00:00
typeparams x/tools: be defensive after types.Info.Types[expr] lookups 2024-10-14 18:46:52 +00:00
typesinternal internal/analysisinternal: unify zero value function to typesinternal 2024-11-20 16:07:55 +00:00
versions internal/versions: remove InitFileVersions 2024-10-07 18:12:27 +00:00
xcontext