go/gopls/internal/regtest
Robert Findley fd59bdfe0d internal/lsp/source: adjust object position when formatting full AST
Thread through an adjusted object position when we format an re-parsed
AST that wasn't type-checked to produce the object. Also remove some
unnecessary handling of the object type.

Fixes golang/go#46158

Change-Id: Ic8bee2bb4cb992d577d085599213fca1deab3b4e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/384697
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-02-17 17:37:03 +00:00
..
bench internal/lsp/regtest: eliminate arbitrary timeouts 2022-01-25 21:51:33 +00:00
codelens internal/lsp/regtest: eliminate arbitrary timeouts 2022-01-25 21:51:33 +00:00
completion internal/lsp/completion: the inserted text should be what is shown to the user 2022-02-03 15:40:54 +00:00
diagnostics internal/lsp/analysis/undeclaredname: suppress impossible quick fixes 2022-02-09 19:35:26 +00:00
misc internal/lsp/source: adjust object position when formatting full AST 2022-02-17 17:37:03 +00:00
modfile internal/lsp/cache: set types.Config.GoVersion 2022-02-07 18:19:30 +00:00
template internal/template: return available semantic tokens even on template error 2022-01-26 20:10:56 +00:00
watch gopls/internal/regtest: clean up TestFillReturnsPanic 2021-06-03 18:03:08 +00:00
workspace internal/lsp: add support for formatting go.work files 2022-02-15 17:15:32 +00:00