]> Cypherpunks.ru repositories - gostls13.git/commit
go/types: remove asNamed
authorRobert Findley <rfindley@google.com>
Thu, 18 Nov 2021 00:04:17 +0000 (19:04 -0500)
committerRobert Findley <rfindley@google.com>
Thu, 18 Nov 2021 02:11:51 +0000 (02:11 +0000)
commit9115a7ba4a7e198befe26d69b740a34b495e1db5
tree1ab6fb257f0e75fecfad2b19ecdc0cc11da49856
parente3b48af57560e730a512d79f9d338aafac61f944
go/types: remove asNamed

This is a port of CL 363441 from types2 to go/types, with an additional
adjustment in methodset.go.

Change-Id: Ia04dcfb70bb9f6af6f45175dee3334dba7b2768e
Reviewed-on: https://go-review.googlesource.com/c/go/+/364895
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>
src/go/types/decl.go
src/go/types/lookup.go
src/go/types/methodset.go
src/go/types/type.go
src/go/types/unify.go
src/go/types/universe.go