mirror of
https://github.com/golang/go
synced 2024-11-18 16:54:43 -07:00
The Go programming language
33fcc815f2
Composite literals are initialized in place where possible, but in cases the initializer expression refers to the variable that is being updated x = T{a: x.a} we must ensure that the RHS is fully evaluated before we execute any stores to x. This means we need to record the sequence of stores in a "store buffer" and execute it only once the entire composite literal has been evaluated. Fixes issue #10127 Change-Id: If94e3b179beb25feea5b298ed43de6a199aaf347 Reviewed-on: https://go-review.googlesource.com/7533 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 |
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.