mirror of https://github.com/golang/go.git
interfaces Now that the underlying of type parameters is their constraint interface, a couple places in the printf analyzer need to be updated: - We need to explicitly exclude type parameters when looking at interfaces in isFormatter. - We need to consider at the element type, not its underlying, when looking at pointers to type parameters Change-Id: I8c6843e001a98d45ff0f30df305e3536335f567e Reviewed-on: https://go-review.googlesource.com/c/tools/+/364678 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org> |
||
|---|---|---|
| .. | ||
| genericfeatures | ||
| common.go | ||
| common_test.go | ||
| copytermlist.go | ||
| enabled_go117.go | ||
| enabled_go118.go | ||
| normalize.go | ||
| normalize_test.go | ||
| termlist.go | ||
| typeparams_go117.go | ||
| typeparams_go118.go | ||
| typeparams_test.go | ||
| typeterm.go | ||