From b3aff930cf4a423bd03d68b70d64cfa66807b0f0 Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Thu, 6 Feb 2025 22:28:30 -0500 Subject: 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 Reviewed-by: Robert Griesemer --- api/go1.25.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'api') 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 -- cgit v1.3-5-g9baa