mirror of
https://github.com/golang/go
synced 2024-11-19 01:44:40 -07:00
579903b3ad
This change adds a protocol.ColumnMapper when parsing go.mod files. This will prevent us from having to worry about line and column offsets, specifically when converting from the x/mod/modfile position to a span.Span. Updates golang/go#31999 Change-Id: Iacdfb42d61dfea9b5f70325cf5a87c9575f8f345 Reviewed-on: https://go-review.googlesource.com/c/tools/+/214699 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
testdata | ||
diagnostics.go | ||
mod_test.go |