Failing to set this when adding a named import to an existing block at the 0th position caused the Lparen position to be set to zero. As a result, the specs were printed as if they were a single spec, not a group. This made it appear as if imports had been swallowed. See CL 8663 for more context and the original bug report. CL 2050 fixed most similar cases but missed this one. Change-Id: Ic578fbb8040fa3d3d41db5bde2b839e394801608 Reviewed-on: https://go-review.googlesource.com/10252 Reviewed-by: Robert Griesemer <gri@golang.org> |
||
|---|---|---|
| benchmark/parse | ||
| blog | ||
| cmd | ||
| container/intsets | ||
| cover | ||
| go | ||
| godoc | ||
| imports | ||
| oracle | ||
| playground | ||
| present | ||
| refactor | ||
| .gitattributes | ||
| .gitignore | ||
| AUTHORS | ||
| CONTRIBUTING.md | ||
| CONTRIBUTORS | ||
| LICENSE | ||
| PATENTS | ||
| README | ||
| codereview.cfg | ||
README
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 oracle 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. To submit changes to this repository, see http://golang.org/doc/contribute.html.