commit | bf090417da8b6150dcfe96795325f5aa78fff718 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Fri Jan 11 17:03:01 2019 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Mon Jan 14 22:23:45 2019 +0000 |
tree | 53d597c54d8a71e34f02d10de20c58a193cb2e01 | |
parent | 36f37f8f5c8169a4482a16bcccc34b26413e704c [diff] |
internal/lsp: fix a few nil pointer exceptions in definition Jumping to the definition of a builtin function or basic kind would cause a nil pointer because these have no position. Change-Id: I043a61a148757b127ff1123c8429ce23858bd13a Reviewed-on: https://go-review.googlesource.com/c/157597 Reviewed-by: Ian Cottrell <iancottrell@google.com> Run-TryBot: 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.