tools/internal/typesinternal
Tim King 915132c3ad internal/typesinternal: add NamedOrAlias type
A NamedOrAlias represents either a *types.Named or a *types.Alias.

Used this generalization in gopls.

This change is derived from https://go.dev/cl/603935.

Change-Id: Ica1669784dec6bcdefafde02e9a6ce789db28814
Reviewed-on: https://go-review.googlesource.com/c/tools/+/618735
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Commit-Queue: Tim King <taking@google.com>
2024-10-10 17:08:25 +00:00
..
element.go internal/aliases: remove Alias and Unalias 2024-09-20 19:51:09 +00:00
element_test.go internal/aliases: remove Alias and Unalias 2024-09-20 19:51:09 +00:00
errorcode.go internal/typesinternal: correct spec anchors in comments 2024-09-04 14:10:57 +00:00
errorcode_string.go internal/typesinternal: update go/types error codes for 1.20 2022-11-10 22:27:59 +00:00
errorcode_test.go internal/typesinternal: update go/types error codes for 1.20 2022-11-10 22:27:59 +00:00
recv.go internal/aliases: remove Alias and Unalias 2024-09-20 19:51:09 +00:00
toonew.go gopls/internal/analysis/stdversion: set RunDespiteErrors 2024-03-08 23:48:57 +00:00
types.go internal/typesinternal: add NamedOrAlias type 2024-10-10 17:08:25 +00:00