]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: clarify docs for resolveUnderlying
authorMark Freeman <mark@golang.org>
Thu, 23 Oct 2025 20:25:28 +0000 (16:25 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 27 Oct 2025 18:47:41 +0000 (11:47 -0700)
commit180c07e2c12779872d6cf907b291e4c0b66f93a1
tree2ac722e660e9e2c8193cc6b072c5e3359263d142
parentd8a32f3d4b093d6a0d2235bf729bbef1d0b489d2
go/types, types2: clarify docs for resolveUnderlying

The resolveUnderlying method only detects cycles among type names, where
no type literal or predeclared type can be found (which would yield an
underlying type).

Change-Id: I203f3856eaf63a8a9d317c22521755390f9c1023
Reviewed-on: https://go-review.googlesource.com/c/go/+/714402
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Mark Freeman <markfreeman@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/types2/named.go
src/go/types/named.go