commit | 2212a7e161a54c76aa397a96d267a553b8aeda7c | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Fri May 08 18:47:21 2020 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Sat May 09 03:07:07 2020 +0000 |
tree | 6e232be89c9f5ccf6715f15c2d2748f4208f310c | |
parent | ead0a569305d87def8dc4ad3899a7d78432b12c6 [diff] |
internal/lsp: return in the default case in cloneExpr As a follow-up to CL 232990, return in the default case so that the compiler will complain if we fail to return. Change-Id: Ib771dfcd1a67b33fd51508ac183b861c00417efb Reviewed-on: https://go-review.googlesource.com/c/tools/+/232992 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com>
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.