Go to file
Alan Donovan f0ff511183 go/loader: make (*Config).Load() robust against I/O, scanner and parser errors.
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
2014-06-13 11:32:46 -04:00
astutil go.tools/astutil: fix edge case in DeleteImport causing merging of import sections. 2014-05-19 14:04:30 -07:00
blog go.tools/blog: strip prefix when serving static content 2013-11-08 13:28:32 +11:00
cmd go.tools/godoc: fix index reading and writing 2014-06-13 16:49:32 +10:00
container/intsets go.tools/container/intsets: increase block size to 256 bits. 2014-05-30 13:21:36 -04:00
cover go.tools/cover: split parsing code out from cmd/cover 2013-12-03 20:55:21 -08:00
dashboard dashboard: split key handler into key package, add TimeKey to cache 2014-06-02 08:39:03 +10:00
go go/loader: make (*Config).Load() robust against I/O, scanner and parser errors. 2014-06-13 11:32:46 -04:00
godoc go/loader: make (*Config).Load() robust against I/O, scanner and parser errors. 2014-06-13 11:32:46 -04:00
imports go.tools/imports: fix case where output not gofmt-compatible 2014-05-20 14:02:16 -07:00
oracle go/ssa: avoid "premature optimization" of dead branch removal. 2014-06-12 11:31:41 -04:00
playground go.tools/{cmd/present,playground/socket}: add orighost flag to handle the web origin more flexible 2014-06-02 21:39:33 +09:00
present go.tools/present: correctly test empty argument 2014-06-12 16:54:10 -07:00
refactor go.tools/go/types: remove PackageObj Selection - not needed 2014-06-12 18:05:33 -04:00
.hgignore go.tools/.hgignore: don't ignore test-generated files, clean them up. 2014-04-10 13:17:20 -04:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
LICENSE LICENSE: add 2012-03-17 15:20:58 +11:00
PATENTS go.empty: add PATENTS file to the subrepo. 2012-04-16 11:24:04 +10:00
README go.tools/README: minor correction. 2013-10-29 13:20:58 -04:00
codereview.cfg codereview: switch defaultcc to golang-codereviews 2013-12-20 10:54:33 -05:00

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.