1
0
mirror of https://github.com/golang/go synced 2024-11-18 19:34:41 -07:00
go/go
Alan Donovan 0dda50d42a go/loader: improve robustness in face of input errors
Before this change, many kinds of error would cause the loader to stop.
    making it brittle when analyzing large codebases, as in "godoc -analysis".

    This change moves operations that used to occur during
    configuration---(*build.Context).Import, loading, and parsing of
    initial packages---into the Load call, and ensures that all failures
    during Loading are reported at the end so that the maximum amount of
    progress is made.

    Also: redesign the tests and add many new cases.

Change-Id: Ia8cd99416af7c5d4a5fe133908adfa83676d401f
Reviewed-on: https://go-review.googlesource.com/3626
Reviewed-by: Robert Griesemer <gri@golang.org>
2015-02-02 20:01:59 +00:00
..
ast/astutil astutil: move to go/ast/astutil 2015-01-13 15:47:47 +00:00
buildutil refactor/rename: make tests pass on windows (fixes build) 2015-01-23 05:30:55 +00:00
callgraph tools: add import comments. 2014-12-09 22:42:16 +00:00
exact tools: add import comments. 2014-12-09 22:42:16 +00:00
gccgoimporter tools: add import comments. 2014-12-09 22:42:16 +00:00
gcimporter tools: add import comments. 2014-12-09 22:42:16 +00:00
importer tools: add import comments. 2014-12-09 22:42:16 +00:00
loader go/loader: improve robustness in face of input errors 2015-02-02 20:01:59 +00:00
pointer go/loader: improve robustness in face of input errors 2015-02-02 20:01:59 +00:00
ssa go/loader: improve robustness in face of input errors 2015-02-02 20:01:59 +00:00
types go/types: update testdata (fix build) 2015-01-29 22:22:27 +00:00
vcs go/vcs: fix bug in remote package discovery 2015-01-10 08:10:09 +00:00