]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types2: reduce output when describing type parameters
authorRobert Griesemer <gri@golang.org>
Wed, 20 Oct 2021 20:12:43 +0000 (13:12 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 22 Oct 2021 21:12:07 +0000 (21:12 +0000)
commit76dd01f45786757a08f1e070245d174cd64559be
tree0f7ee9663080b81d40e26f3133651860398e3b92
parentff8115d1a1b3bcaadfea10f6913e9fe083013799
cmd/compile/internal/types2: reduce output when describing type parameters

There's no need to say "type parameter" for a type parameter. The
name is sufficient (they are always named), and the prose is followed
by "constrained by".

Change-Id: I98df8caa1432b8b7a874e58da6e3ed6be102b4a0
Reviewed-on: https://go-review.googlesource.com/c/go/+/357410
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/operand.go