Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/types/objectpath: don't panic when receiver is missing a method
Due to a long-standing bug in go/types, the objectpath package cannot find methods declared on aliases of cgo types. We should fix the bug in go/types, but also must avoid the panic in gopls as this fix will not be back-ported to all supported Go versions. Updates golang/go#59944 Change-Id: I42d94e610ad92d258c8034d59ea3b0ef312ddebb Reviewed-on: https://go-review.googlesource.com/c/tools/+/492315 Reviewed-by: Alan Donovan <adonovan@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Robert Findley <rfindley@google.com> Auto-Submit: Robert Findley <rfindley@google.com>
- Loading branch information