aboutsummaryrefslogtreecommitdiff
path: root/src/internal/pkgbits
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2025-01-06 13:25:08 -0800
committerGopher Robot <gobot@golang.org>2025-01-07 09:56:11 -0800
commit1d20bce981005777424b9c8da199015ab2148810 (patch)
treea401da95f207a3e0344603f4f8960170e4788f90 /src/internal/pkgbits
parenta9bd6239a440dedc354f7651259fabef4610ebdc (diff)
downloadgo-1d20bce981005777424b9c8da199015ab2148810.tar.xz
go/types, types2: expand documentation for Info.Types map
Function types for function (and method) declarations do not appear in Info.Types maps, only Info.Defs maps, because the function type is implicit in the declaration and not a proper (function) type expression. This is true even though the AST represents these types via an (artificial) FuncType node. Document this explicitly in the API. No functional code changes. Fixes #70908. Change-Id: I2aa897daed04e7ad0fa8b625d9adc7b423c57387 Reviewed-on: https://go-review.googlesource.com/c/go/+/640776 Reviewed-by: Alan Donovan <adonovan@google.com> Auto-Submit: Robert Griesemer <gri@google.com> Reviewed-by: Robert Griesemer <gri@google.com> Reviewed-by: Robert Findley <rfindley@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/internal/pkgbits')
0 files changed, 0 insertions, 0 deletions