mirror of
https://github.com/golang/go
synced 2024-11-18 16:44:43 -07:00
The Go programming language
b10dfb99c5
Also removes a potential race condition regarding the used flag of Var objects when type-checking packages concurrently. Implementation: Rather than marking all used dot-imported objects and then deduce which corresponding package was used, now we consider all dot-imported packages as unused and remove each package from the unused packages map as objects are used. Now only objects that can be marked as used have a used field (variables, labels, and packages). As a result, the code became cleaner and simpler. Fixes golang/go#8969. LGTM=adonovan R=adonovan CC=golang-codereviews https://golang.org/cl/163740043 |
||
---|---|---|
astutil | ||
blog | ||
cmd | ||
container/intsets | ||
cover | ||
dashboard | ||
go | ||
godoc | ||
imports | ||
oracle | ||
playground | ||
present | ||
refactor | ||
.hgignore | ||
AUTHORS | ||
codereview.cfg | ||
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.