This will allow diagnostics to denote the range they apply to. The ranges are now interpreted using the internal/span library. This is primarily intended for the benefit of the LSP, which will be able to (in future CLs) more accurately highlight the part of the code a diagnostic applies to. Change-Id: Ic35cec2b21060c9dc6a8f5ebb7faa62d81a07435 Reviewed-on: https://go-review.googlesource.com/c/tools/+/179237 Run-TryBot: Michael Matloob <matloob@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
---|---|---|
.. | ||
flags.go | ||
flags_test.go | ||
help.go |