mirror of https://github.com/golang/go.git
Make builtin hover consistent with signatureHelp by reusing the BuiltinSignature function. To simplify this, just precompute the builtin signature. In later CLs we can pre-compute all signatures and eliminate the signatureSource indirection. Fixes golang/go#51811 Change-Id: I1babe64ba41f636bf455074a23ad6dac5539fb89 Reviewed-on: https://go-review.googlesource.com/c/tools/+/395294 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> |
||
|---|---|---|
| .. | ||
| a | ||
| b | ||
| broken | ||
| hover_generics | ||
| infer_generics | ||