]> Cypherpunks repositories - gostls13.git/commit
go/types: add the TypeParam.Obj method
authorRobert Findley <rfindley@google.com>
Wed, 18 Aug 2021 17:22:58 +0000 (13:22 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 23 Aug 2021 13:07:43 +0000 (13:07 +0000)
commit9fe5c7f12274fd4044457e863cbb8bc3ae751dcb
tree1eb8966ff349d80dbcdfcd620d25aa2a23286a68
parentbaf2866956c2e03952383e19287a1e562cf09170
go/types: add the TypeParam.Obj method

Users should be able to access the type name associated with a type
parameter.

Change-Id: I495c3b4377f9d4807b1e78ad341e573d4d3c7bff
Reviewed-on: https://go-review.googlesource.com/c/go/+/343931
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/typeparam.go