aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec_test.go
diff options
context:
space:
mode:
authorRobert Findley <rfindley@google.com>2021-11-15 09:42:03 -0500
committerRobert Findley <rfindley@google.com>2021-11-16 15:59:43 +0000
commit79d0013f53d4199b9f84d813221b71adf7eb1e4d (patch)
treecca478dae811b7dd659389219cbcebe8f28eafe4 /src/os/exec/exec_test.go
parent7f4a946fa26f2ffdc14c354f2f1cc193ab5d0e90 (diff)
downloadgo-79d0013f53d4199b9f84d813221b71adf7eb1e4d.tar.xz
go/types, types2: improve error messages referencing any
Because any is an a alias, it is naively formatted as interface{} in error messages. This is a source of verbosity and potential confusion. We can improve the situation by looking for pointer equality with the any type. To avoid churn in the importers, do this all at once across the compiler, go/types, and go/internal/gcimporter. CL 364194 makes the corresponding change in x/tools/go/internal/gcimporter, allowing the x/tools trybots to pass. Fixes #49583 Change-Id: Ib59570937601308483f6273364cc59338f9b8b3b Reviewed-on: https://go-review.googlesource.com/c/go/+/363974 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/os/exec/exec_test.go')
0 files changed, 0 insertions, 0 deletions