commit | 40370f8a2a08dcc0d379e4ff22364a094043c97b | [log] [tgz] |
---|---|---|
author | Robert Findley <rfindley@google.com> | Mon Mar 14 14:15:14 2022 -0400 |
committer | Robert Findley <rfindley@google.com> | Mon Mar 14 21:01:25 2022 +0000 |
tree | 9dd4c2072d50da922d8c270a3792d2c6429f935b | |
parent | 24806f2a30c7b8c75986030e30ea91c4c1e51ce9 [diff] |
go/internal/gcimporter: add a test case for issue 51219 Based on CL 387814, construct a reproducer for issue 51219 using x/tools/go/internal/gcimporter. Confirmed that this fails without the fix in CL 392475. Additionally, this CL includes some minor cleanup: - no need to take two passes in testExportSrc, as IExportVersionGenerics and IExportVersionGo1_18 are the same - remove skips that are no longer needed. Fixes golang/go#51219 Change-Id: Ia76fe9038aab7a2b9efc8429dc211b03adbb5560 Reviewed-on: https://go-review.googlesource.com/c/tools/+/392734 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@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 install
.
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 install golang.org/x/tools/...@latest
.
This repository uses prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
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.