1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:44:43 -07:00
go/internal/span
Heschi Kreinick e1fd5825ff internal/lsp/cache: handle invalid analysis Pos
The nilness analysis gives us diagnostics with invalid start Pos. We can
just ignore those and log them.

Add a missing error check while I'm in here.

Change-Id: I4a205f253a9e47ec1513ff6299479f52e414a48c
Reviewed-on: https://go-review.googlesource.com/c/tools/+/216724
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-01-29 01:28:57 +00:00
..
parse.go internal/span: change to private fields 2019-03-15 18:05:47 +00:00
span_test.go all: fix more typos 2019-09-11 15:13:14 +00:00
span.go internal/span: end of file is now last line +1 2019-10-07 18:54:44 +00:00
token111.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token112.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token_test.go internal/span: support line directives 2019-11-25 19:20:43 +00:00
token.go internal/lsp/cache: handle invalid analysis Pos 2020-01-29 01:28:57 +00:00
uri_test.go internal/span: handle escaping file URIs 2019-09-16 17:14:20 +00:00
uri.go internal/span: handle escaping file URIs 2019-09-16 17:14:20 +00:00
utf16_test.go internal/span: handle character values beyond end of line in FromUTF16Column 2019-07-06 07:08:13 +00:00
utf16.go internal/span: handle invalid column values to avoid crashing 2019-09-23 19:53:54 +00:00