diff options
| author | Mark Freeman <mark@golang.org> | 2026-03-26 16:30:20 -0400 |
|---|---|---|
| committer | Mark Freeman <mark@golang.org> | 2026-03-30 08:19:14 -0700 |
| commit | 3524089944a7a4ed0e0a8395a10b9a7376df4595 (patch) | |
| tree | 2539c92a9f3a77c558111c10c164e570b09c6b5f /src/encoding | |
| parent | 4d1f503396fa30da1e7b841de2f464c8bf8940e0 (diff) | |
| download | go-3524089944a7a4ed0e0a8395a10b9a7376df4595.tar.xz | |
cmd/compile/internal/noder: add is[Concrete|Generic]Method helpers
The isGenericMethod helper will be necessary for upcoming changes
to UIR, though it's not currently used.
Since all generic methods are concrete methods, we also define the
isConcreteMethod helper to illustrate the subset relationship
between the two classes of methods. We use this helper for encoding
method dictionaries.
Change-Id: Ib7cdd7224fc733553726c8f86c0fe59ad60bff67
Reviewed-on: https://go-review.googlesource.com/c/go/+/759781
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
