Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/lsp: followups to dropping line directives
(This change was my independent effort to remove support for line directives, which Peter already did in CL 439115. The changes were substantially similar but this one also made some follow-on simplifications.) Also, NewMappedRange(token.File, ColumnMapper, ...) no longer needs its first argument since it is redundant with ColumnMapper.TokFile. Also, inline away cache.parseGoSpan, and update various comments. Fixes golang/go#55403 Change-Id: I951043c0ece9ee0a9ce65ae174d25057b0e1255a Reviewed-on: https://go-review.googlesource.com/c/tools/+/457656 Reviewed-by: Robert Findley <rfindley@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> Run-TryBot: Alan Donovan <adonovan@google.com> Reviewed-by: Peter Weinberger <pjw@google.com>
- Loading branch information