1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:24:50 -07:00
go/go
Alan Donovan ed45af74ff go.tools/go/loader: add AllowTypeErrors flag.
If this flag is set, (*Config).Load will not return an
error even if some packages had type errors.  Each individual
PackageInfo can be queried for its error state, now exposed as
TypeError.

In addition, each PackageInfo exposes whether it is
"transitively error-free".  ssa.Create skips packages without
this flag since it is required for SSA construction.

+ Test.

LGTM=gri
R=gri
CC=golang-codereviews
https://golang.org/cl/62000045
2014-02-18 19:43:14 -05:00
..
callgraph go.tools/call: rename package to go/callgraph 2014-01-16 14:04:19 -05:00
exact go.tools/go/types: minor cleanups 2014-01-14 21:04:35 -08:00
gccgoimporter go.tools/go/gccgoimporter: remove dead code 2014-01-16 13:19:39 -08:00
gcimporter go.tools/go/types: remove Type.MethodSet() method. 2014-02-11 16:49:27 -05:00
importer go.tools/go/types: cleanup: more consistent exported predicate names 2014-01-28 10:57:56 -08:00
loader go.tools/go/loader: add AllowTypeErrors flag. 2014-02-18 19:43:14 -05:00
pointer go.tools/pointer: opt: type-based label tracking reduces solver time by up to 75%. 2014-02-18 12:40:44 -08:00
ssa go.tools/go/loader: add AllowTypeErrors flag. 2014-02-18 19:43:14 -05:00
types go.tools/go/types: remove Type.MethodSet() method. 2014-02-11 16:49:27 -05:00
vcs go.tools/vcs: allow compilation with go 1.0 2013-10-04 11:46:57 +10:00