mirror of https://github.com/golang/go.git
Go 1.19 introduced new formatting for doc comments, and a new package for processing them. This change uses the new package when gopls is compiled with go 1.19 or later. The difficulty is with the hover tests, which have to work both when gopls is compiled with earlier versions of go, and with go 1.19. Fortunately the changes in formatting the test cases are easily checked. Fixes golang/go#54260 Change-Id: I9e8e7f0cf3392afa0865b5d3f4e5fcdd88dfe75f Reviewed-on: https://go-review.googlesource.com/c/tools/+/421502 Run-TryBot: Peter Weinberger <pjw@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Robert Findley <rfindley@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| call_hierarchy.go | ||
| check.go | ||
| cmdtest.go | ||
| definition.go | ||
| folding_range.go | ||
| format.go | ||
| highlight.go | ||
| implementation.go | ||
| imports.go | ||
| links.go | ||
| prepare_rename.go | ||
| references.go | ||
| rename.go | ||
| semanticdriver.go | ||
| signature.go | ||
| suggested_fix.go | ||
| symbols.go | ||
| workspace_symbol.go | ||