]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] go/types: re-use existing code for Interface.Complete
authorRob Findley <rfindley@google.com>
Thu, 3 Jun 2021 15:49:52 +0000 (11:49 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 7 Jun 2021 17:07:10 +0000 (17:07 +0000)
commit2f26adc232988938cff003e15dae75757f76710a
tree8b271962c908a6c38cd42180c9ecf003b9c64c95
parent139595207570ae380e3947fa39e43205477b7bba
[dev.typeparams] go/types: re-use existing code for Interface.Complete

This is a port of CL 321751 to go/types, adjusted to use token.Pos, and
to exclude a missing position from a panic message (an unresolved
comment on the original CL).

Change-Id: I5814067aecb67aca9d73f2093fb6004b769924f3
Reviewed-on: https://go-review.googlesource.com/c/go/+/324756
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/interface.go
src/go/types/type.go