Before, Load() would just fail. Now, it gathers all frontend errors (not just the first go/types error) in PackageInfo.Errors. There are still cases where Load() can fail hard, e.g. errors in x_test.go files. That case is trickier to fix and remains a TODO item. Also, make godoc display all scanner/parser/type errors in the source view. LGTM=gri R=gri CC=golang-codereviews https://golang.org/cl/108940043 |
||
|---|---|---|
| astutil | ||
| blog | ||
| cmd | ||
| container/intsets | ||
| cover | ||
| dashboard | ||
| go | ||
| godoc | ||
| imports | ||
| oracle | ||
| playground | ||
| present | ||
| refactor | ||
| .hgignore | ||
| AUTHORS | ||
| CONTRIBUTORS | ||
| LICENSE | ||
| PATENTS | ||
| README | ||
| codereview.cfg | ||
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.