commit | af8577037cd29df352d6240788fe5c5999eb6848 | [log] [tgz] |
---|---|---|
author | Rohan Challa <rohan@golang.org> | Mon Nov 25 14:40:42 2019 -0500 |
committer | Rohan Challa <rohan@golang.org> | Tue Nov 26 20:43:40 2019 +0000 |
tree | dd9d4b073b405c3e19fd733fa00b59dada08cf8f | |
parent | 20805546e75d161b4b5682ba6ce1dafac9d46985 [diff] |
internal/lsp: remove duplicate implementations when finding implementations Finding implementations adds the same implementation multiple times, this commit removes the duplicates and ensures that only one instance of each implementation gets returned. Also moves the sorting of results to the test file to ensure that the tests are deterministic. Fixes #35600 Change-Id: I244d36a46b7e31bf3c1f845e241239de05d45e6f Reviewed-on: https://go-review.googlesource.com/c/tools/+/208668 Run-TryBot: Rohan Challa <rohan@golang.org> 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.