tools/go/analysis
Steven L a94d7df2cb go/analysis/internal/checker: don't clobber fact when codeFact fails
`codeFact` returns `nil, err` on errors, which results in error messages like:

    panic: internal error: encoding of nil fact failed in [analyzer]

Though that and the stacktrace are often enough to identify the cause, the nil
hides the actual source of the problem.

Change-Id: Iddcdee386a5c64c6567d2727ebe7a77fe21927e9
GitHub-Last-Rev: 92163c2a5a631817319c992f7445f86d95130514
GitHub-Pull-Request: golang/tools#78
Reviewed-on: https://go-review.googlesource.com/c/tools/+/167997
Reviewed-by: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
2019-03-21 21:13:22 +00:00
..
analysistest go/analysis/analysistest: change error message checked in expectation 2019-02-12 19:41:11 +00:00
cmd/vet Revert "cmd/vet: add deepequalerrors" 2019-03-05 01:09:23 +00:00
internal go/analysis/internal/checker: don't clobber fact when codeFact fails 2019-03-21 21:13:22 +00:00
multichecker go/analysis/unitchecker: a main function for vet-lite tools 2018-11-15 16:00:22 +00:00
passes go/analysis/passes/test: remove some false positives 2019-03-21 21:05:29 +00:00
singlechecker go/analysis/singlechecker: use Stderr in flag.Usage 2019-02-14 16:35:53 +00:00
unitchecker go/analysis/unitchecker: rewrite test in terms of packagestest 2019-02-13 22:38:15 +00:00
analysis.go go/{analysis,packages}: add TypesSizes 2019-01-17 19:41:23 +00:00
doc.go go/analysis: fix typos and update documentation 2019-01-11 18:03:38 +00:00
validate.go go/analysis: validate: report duplicates among analyzers (roots) 2018-10-11 19:55:00 +00:00