mirror of
https://github.com/golang/go
synced 2024-09-30 22:48:32 -06:00
The Go programming language
43c97eab79
Programs such as this cause the PtrTo solver to attempt to enumerate an infinite set of types {T, *T, ..., *******T, etc}. t := reflect.TypeOf(T{}) for { t = reflect.PtrTo(t) } The fix is to bound the depth of reflectively created types at about 4 map/chan/slice/pointer constructors. + test. LGTM=gri R=gri CC=crawshaw, golang-codereviews https://golang.org/cl/102030044 |
||
---|---|---|
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.