aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorAlan Donovan <adonovan@google.com>2025-02-06 22:28:30 -0500
committerAlan Donovan <adonovan@google.com>2025-03-27 12:29:28 -0700
commitb3aff930cf4a423bd03d68b70d64cfa66807b0f0 (patch)
treed115dcdecd7a43a37b8d931e4bacf048ca9731ce /api
parente9242ee81274154f2ec0a82a176496acea0b91ef (diff)
downloadgo-b3aff930cf4a423bd03d68b70d64cfa66807b0f0.tar.xz
go/types: LookupSelection: returns LookupFieldOrMethod as a Selection
Also, rewrite some uses of LookupFieldOrMethod in terms of it. + doc, relnote Fixes #70737 Change-Id: I58a6dd78ee78560d8b6ea2d821381960a72660ab Reviewed-on: https://go-review.googlesource.com/c/go/+/647196 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'api')
-rw-r--r--api/go1.25.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/go1.25.txt b/api/go1.25.txt
index 8cd7b1d8fc..faad356cef 100644
--- a/api/go1.25.txt
+++ b/api/go1.25.txt
@@ -10,6 +10,7 @@ pkg go/types, const RecvVar = 3 #70250
pkg go/types, const RecvVar VarKind #70250
pkg go/types, const ResultVar = 5 #70250
pkg go/types, const ResultVar VarKind #70250
+pkg go/types, func LookupSelection(Type, bool, *Package, string) (Selection, bool) #70737
pkg go/types, method (*Var) Kind() VarKind #70250
pkg go/types, method (*Var) SetKind(VarKind) #70250
pkg go/types, method (VarKind) String() string #70250