зеркало из https://github.com/golang/tools.git
9886d9888c
In order to replace gopls legacy builds on Kokoro with LUCI, it is easiest to get x/tools tests passing at older Go versions. This CL gets tests passing at 1.18 and 1.19, using various techniques: - Where it was easy to carve out some leave node of the package graph, just use go:build directives. - Add an internal/compat package with compatibility shims (much like the typeparams package, which is coincidentally now obsolete). It turns out, the only required shim is Appendf. Notably, some go/ssa and go/ssa/interp tests recurse infinitely due to a go/types bug, which was not investigated. Change-Id: Ib2e6cc8a804ead394a324a4598728b200b24091c Reviewed-on: https://go-review.googlesource.com/c/tools/+/526264 Reviewed-by: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> gopls-CI: kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.. | ||
testdata | ||
deadcode.go | ||
deadcode_test.go | ||
doc.go |