aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorJonathan Amsterdam <jba@google.com>2021-12-18 07:28:16 -0500
committerJonathan Amsterdam <jba@google.com>2022-01-03 23:45:12 +0000
commit95b240b2cd63e9631b3d0be72a10a3f2cc6f1d28 (patch)
tree73ca8fbc3f25b9a82b1c15abbe8afc05939a2e52 /src/runtime
parenta893d0f464e15f72d5f01937bed5011098adbb7b (diff)
downloadgo-95b240b2cd63e9631b3d0be72a10a3f2cc6f1d28.tar.xz
go/doc: handle generic receiver strings
A receiver expression for a type with parameters may be an IndexExpr or IndexListExpr in addition to an Ident or StarExpr. Add cases to recvString to account for the new types. Add tests that compare the fields of Func, and the fields of Type that hold Funcs. These fields weren't previously tested. Change-Id: Ia2cef51c85113422e0c5745c77dddcd53507ee51 Reviewed-on: https://go-review.googlesource.com/c/go/+/375095 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions