go/go
Russ Cox fd2bfb79a1 go/analysis/passes/stdmethods: recognize any as alias for interface{}, for errors.As check
Now that any is an alias for interface{}, we need to recognize both

	func (T) As(any) bool
	func (T) As(interface{}) bool

as satisfying errors.As.

For golang/go#33232.

Change-Id: Ie5a992c37da8020e80367528bc23370227a70f75
Reviewed-on: https://go-review.googlesource.com/c/tools/+/369954
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
2021-12-07 22:06:08 +00:00
..
analysis go/analysis/passes/stdmethods: recognize any as alias for interface{}, for errors.As check 2021-12-07 22:06:08 +00:00
ast go/ast/astutil: update PathEnclosingInterval to handle type parameters 2021-10-01 21:26:43 +00:00
buildutil all: go fmt ./... 2021-02-20 03:28:52 +00:00
callgraph go/callgraph/vta/internal/trie: fix build with go1.12 2021-11-22 21:22:40 +00:00
cfg all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
expect go/expect: use parser.AllErrors when extracting Notes 2021-02-23 18:29:07 +00:00
gccgoexportdata all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
gcexportdata go/gcexportdata: limit reader to the export data section of the archive 2021-10-21 19:57:13 +00:00
internal go/internal/gcimporter: fix test for Go 1.18 any 2021-12-07 20:13:17 +00:00
loader go/internal/cgo: handle symlinks with $PWD, not -srcdir 2021-06-29 19:12:30 +00:00
packages go/packages/packagestest: skip nested module directories in copying 2021-10-22 20:09:16 +00:00
pointer go/pointer: remove use of deprecated ssa.CreateTestMainPackage 2021-11-16 19:18:26 +00:00
ssa go/ssa: remove deprecated FindTests and CreateTestMainPackage 2021-11-23 18:15:15 +00:00
types go/types/typeutil: add support for mapping generic types 2021-12-02 03:14:37 +00:00
vcs all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00