commit | c85f9fa9581ecd50acc9e0096288acecfe5bcdc1 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Fri Sep 20 14:05:10 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Mon Sep 23 19:53:54 2019 +0000 |
tree | cbe582e4bff53bcb00e7e16e9904dbeb7b7bcbce | |
parent | 59c6680fe2c1e4ba0c3f0b11ddec52531d8dc8b4 [diff] |
internal/span: handle invalid column values to avoid crashing This might not be necessary after we fix handling for line directives, but it's always better to avoid the panic here. Updates golang/go#34433 Change-Id: Ica4fb571dff6753fb15bf8d397c55f713284aa27 Reviewed-on: https://go-review.googlesource.com/c/tools/+/196662 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@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.