mirror of
https://github.com/golang/go
synced 2024-10-01 05:28:33 -06:00
The Go programming language
65b5a8eca7
This peculiar case arose in range statements but there are other contexts and one turned up in the auto-generated translation of the compiler. Take care of it always. for i := 0; i < 0; func() {i++; q=q.Link}() { ... } That code has been given the obvious rewrite but we should still handle it. Odd but easy to fix (tricky to test). Fixes #10269. Change-Id: I66e1404eb24da15a24be7f67403e19ed66fba0a7 Reviewed-on: https://go-review.googlesource.com/8284 Reviewed-by: Robert Griesemer <gri@golang.org> |
||
---|---|---|
benchmark/parse | ||
blog | ||
cmd | ||
container/intsets | ||
cover | ||
go | ||
godoc | ||
imports | ||
oracle | ||
playground | ||
present | ||
refactor | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
codereview.cfg | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
LICENSE | ||
PATENTS | ||
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.