go/internal/lsp/template
pjw 464a8874ca internal/lsp/templates: replace panic by logging
There were two panics that cannot happen (meaning they are inconsistent
woith my understanding of the documentation). These are being
replaced by logging, as if they happen, they will happen deterministically
again if the user restarts gopls and does the same thing.

Change-Id: Ia405ad2883cedcf3de6cb1376eedb0f9250c61e0
Reviewed-on: https://go-review.googlesource.com/c/tools/+/350110
Trust: Peter Weinberger <pjw@google.com>
Run-TryBot: Peter Weinberger <pjw@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2021-09-20 18:36:32 +00:00
..
completion.go internal/lsp/template: implement completions for template files 2021-09-14 19:06:02 +00:00
completion_test.go internal/lsp/template: implement completions for template files 2021-09-14 19:06:02 +00:00
highlight.go
implementations.go internal/lsp: more careful error handling for semantic tokens 2021-05-17 17:18:20 +00:00
parse.go internal/lsp/template: implement completions for template files 2021-09-14 19:06:02 +00:00
parse_test.go internal/lsp/semantic.go: continue even without type information 2021-08-11 15:16:17 +00:00
symbols.go internal/lsp/templates: replace panic by logging 2021-09-20 18:36:32 +00:00