]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: print underlying type of comparable as "interface{comparable}"
authorRobert Griesemer <gri@golang.org>
Tue, 25 Jan 2022 17:21:39 +0000 (09:21 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 26 Jan 2022 22:09:36 +0000 (22:09 +0000)
commitca6a5c0d518463b40c3e6e56655d45d9fd60e1f7
treefa970672eae6ca611c0ece6c9992a5ab38e7b456
parentc8b0dcea4a3e67289ccf985b10616200817cca86
go/types, types2: print underlying type of comparable as "interface{comparable}"

For #50791.

Change-Id: Ib12009d2895146e55ec3a51aa8ceafe58dfd82a5
Reviewed-on: https://go-review.googlesource.com/c/go/+/380754
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/typestring.go
src/cmd/compile/internal/types2/typestring_test.go
src/go/types/typestring.go
src/go/types/typestring_test.go