]> Cypherpunks repositories - gostls13.git/commit
go/types,types2: revert documentation for Type.Underlying
authorRobert Findley <rfindley@google.com>
Fri, 25 Feb 2022 23:20:12 +0000 (18:20 -0500)
committerRobert Findley <rfindley@google.com>
Fri, 25 Feb 2022 23:38:11 +0000 (23:38 +0000)
commit01e522a97384d2c81c90490654c2749bfe05045e
tree2791ad593e3fe0eac5f253acb3d3404c50d945cf
parent26999cfd84dfa11f8e87153dc91a9f67070f6916
go/types,types2: revert documentation for Type.Underlying

In the dev.typeparams branch, the documentation for Type.Underlying was
updated with commentary about forwarding chains. This aspect of
Underlying should not be exposed to the user. Revert to the
documentation of Go 1.16.

Fixes #51036

Change-Id: I4b73d3908a88606314aab56540cca91c014dc426
Reviewed-on: https://go-review.googlesource.com/c/go/+/388036
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/types2/type.go
src/go/types/type.go