diff options
| author | Robert Griesemer <gri@golang.org> | 2023-08-24 09:07:03 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-08-30 15:45:21 +0000 |
| commit | 2fa7129836d65a3c44696747cc2cd9e9f391c66f (patch) | |
| tree | 578708aa683e98c338d0f8235078064cccd1c4f0 /src/encoding | |
| parent | 0e02baa59af2e8e3e26702bd8ebe72ae5a0e39c7 (diff) | |
| download | go-2fa7129836d65a3c44696747cc2cd9e9f391c66f.tar.xz | |
go/types, types2: use asNamed(t) instead of t.(*Named) type assertions
Preparation for the introduction of alias types.
Because asNamed is not exported, existing external
tests continue to use t.(*Named).
Change-Id: I4754b406dd6b23030d3703a486d6f6620b2464fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/522876
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
