mirror of
https://github.com/golang/go
synced 2024-11-18 16:14:46 -07:00
The Go programming language
22ba3f367c
The export data formats (text and binary) emitted by gc in Go 1.7 did not record the package that "owns" each blank field, even though blank is an unexported identifier. Before, gcimporter would assume the package of the export data file owns blank fields within it, even blank fields reexported from another package. As a result, identical types would become nonidentical during reexporting. For bug compatibility with gc, gcimporter now treats blank fields as if they all belong to the same dummy package, avoiding spurious "can't assign A to B" errors in tools based on go/types. Change-Id: I0dbf71491a0ec0f376e9dc8a91efe0376c855a28 Reviewed-on: https://go-review.googlesource.com/33146 Reviewed-by: Robert Griesemer <gri@golang.org> |
||
---|---|---|
benchmark/parse | ||
blog | ||
cmd | ||
container/intsets | ||
cover | ||
go | ||
godoc | ||
imports | ||
playground | ||
present | ||
refactor | ||
third_party | ||
.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 guru 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.