mirror of https://github.com/golang/go.git
Logic in mod.Hover relied upon ColumnMapper.TokFile being the only file in its FileSet. Fix this to compare offsets with offsets. Also use safetoken.InRange in semantic.go, to fix an incorrect bounds check. Change-Id: Ia18a0799fea1120674e3772efdf0bdb724e554e7 Reviewed-on: https://go-review.googlesource.com/c/tools/+/409934 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Alan Donovan <adonovan@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> |
||
|---|---|---|
| .. | ||
| parse.go | ||
| span.go | ||
| span_test.go | ||
| token.go | ||
| token_test.go | ||
| uri.go | ||
| uri_test.go | ||
| uri_windows_test.go | ||
| utf16.go | ||
| utf16_test.go | ||