diff options
| author | Alan Donovan <adonovan@google.com> | 2024-03-31 18:37:12 -0400 |
|---|---|---|
| committer | Alan Donovan <adonovan@google.com> | 2024-07-31 22:54:09 +0000 |
| commit | 2c1bbe7e32e9e56905cc2c4b34530d69bb5cbc6e (patch) | |
| tree | c1b07579f45572c4a7ff0c8ead6867bc7acf4d14 /api | |
| parent | 0a4215c234fedb3c888dd184416fa1ef08dfe9ae (diff) | |
| download | go-2c1bbe7e32e9e56905cc2c4b34530d69bb5cbc6e.tar.xz | |
go/types: add go1.23 iterator methods for 10 exported types
These methods will not be mirrored in types2 until the
bootstrap compiler reaches go1.23; therefore range-over-func
statements must not be used in code common to types + types2.
Fixes #66626
Change-Id: I3c2c15e3652ee95d9aff208d8a188b912ed5bc9a
Reviewed-on: https://go-review.googlesource.com/c/go/+/575455
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'api')
| -rw-r--r-- | api/next/66626.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/api/next/66626.txt b/api/next/66626.txt new file mode 100644 index 0000000000..7b9f8fabb5 --- /dev/null +++ b/api/next/66626.txt @@ -0,0 +1,11 @@ +pkg go/types, method (*Interface) EmbeddedTypes() iter.Seq[Type] #66626 +pkg go/types, method (*Interface) ExplicitMethods() iter.Seq[*Func] #66626 +pkg go/types, method (*Interface) Methods() iter.Seq[*Func] #66626 +pkg go/types, method (*MethodSet) Methods() iter.Seq[*Selection] #66626 +pkg go/types, method (*Named) Methods() iter.Seq[*Func] #66626 +pkg go/types, method (*Scope) Children() iter.Seq[*Scope] #66626 +pkg go/types, method (*Struct) Fields() iter.Seq[*Var] #66626 +pkg go/types, method (*Tuple) Variables() iter.Seq[*Var] #66626 +pkg go/types, method (*TypeList) Types() iter.Seq[Type] #66626 +pkg go/types, method (*TypeParamList) TypeParams() iter.Seq[*TypeParam] #66626 +pkg go/types, method (*Union) Terms() iter.Seq[*Term] #66626 |
