mirror of https://github.com/golang/go.git
This change makes source.FormatVarType return the instantiated type parameter instead of the actual AST expression because that will just refer to the abstract type parameter and not the insantiated one. I am not sure if this covers all edge cases or if there's a better solution but I'm happy to adjust to whatever is appropriate. Fixes golang/go#50623 Change-Id: I6e0b2d93c47c9a0502f2995ca8d3668a9a31c056 Reviewed-on: https://go-review.googlesource.com/c/tools/+/378714 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Peter Weinberger <pjw@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Peter Weinberger <pjw@google.com> |
||
|---|---|---|
| .. | ||
| literal.go | ||
| literal.go.golden | ||
| literal_snippets.go.in | ||
| literal_snippets118.go.in | ||
| postfix.go | ||
| snippets.go.golden | ||
| snippets.go.in | ||