commit | cefbc64fbd4787e413d613910bab4406f4d58d0b | [log] [tgz] |
---|---|---|
author | Peter Weinberger <pjw@google.com> | Wed Nov 20 08:53:37 2019 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Wed Nov 20 19:02:09 2019 +0000 |
tree | 3d43dbd139c9c6958feafbd6616f386ec6a4649e | |
parent | 0a33398bd99d3bc1734cb619084d261e3a74f147 [diff] |
internal/lsp: make Range a pointer in Change events Change 207598 overenthusiastically (and incorrectly) changed the Range field in a TextDocumentContentChangeEvent from type *Range to type Range, which created a bug in text_synchronization.go. This CL attempts to repair the damage. Change-Id: I19e7418cd5ebaedf5448adfcc60ca86e71eb9b2f Reviewed-on: https://go-review.googlesource.com/c/tools/+/208097 Run-TryBot: Peter Weinberger <pjw@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.