mirror of https://github.com/golang/go.git
Always use (*ast.TypeSpec).Type as a HoverInformation source. Store a type name and an indication of whether it's a type alias declaration as fields of HoverInformation. Fixes golang/go#45261 Change-Id: Ifbcdc15990379d0c73a419dd6cdf175d53dce925 GitHub-Last-Rev: 556dc94ab7d59fd251bbe0a537b19bc0fd7dd544 GitHub-Pull-Request: golang/tools#293 Reviewed-on: https://go-review.googlesource.com/c/tools/+/305189 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Trust: Rebecca Stambler <rstambler@golang.org> Trust: Heschi Kreinick <heschi@google.com> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| a | ||
| b | ||
| broken | ||