1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:44:44 -07:00
go/oracle/testdata/src
Alan Donovan 2dff1e88eb oracle: referrers: fix crash when loading nonexistent files
Files with //line directives may not exist.
Print a helpful error instead of panicking when a file fails to load.

+ Test.

Fixes issue #13459

Change-Id: I305d1380e66e64d20ea84a27c284f53c019fe5e6
Reviewed-on: https://go-review.googlesource.com/18209
Reviewed-by: Michael Matloob <matloob@golang.org>
2015-12-30 22:01:27 +00:00
..
calls go/callgraph: add "concurrent" or "deferred" prefix to (*Edge).Description 2015-07-13 18:17:08 +00:00
calls-json oracle: several major improvements 2015-03-30 19:21:37 +00:00
describe oracle: describe: fix crash on bad ImportSpec 2015-12-30 20:24:55 +00:00
describe-json oracle: several major improvements 2015-03-30 19:21:37 +00:00
freevars oracle: several major improvements 2015-03-30 19:21:37 +00:00
implements oracle: implements: inspect all packages in the analysis scope 2015-12-02 22:28:52 +00:00
implements-json oracle: several major improvements 2015-03-30 19:21:37 +00:00
implements-methods oracle: implements: inspect all packages in the analysis scope 2015-12-02 22:28:52 +00:00
implements-methods-json oracle: implements: inspect all packages in the analysis scope 2015-12-02 22:28:52 +00:00
imports oracle: several major improvements 2015-03-30 19:21:37 +00:00
lib oracle/testdata: avoid sort.Sort so that my $GOROOT doesn't appear in output 2015-03-12 18:36:52 +00:00
main oracle: several major improvements 2015-03-30 19:21:37 +00:00
peers oracle: several major improvements 2015-03-30 19:21:37 +00:00
peers-json oracle: several major improvements 2015-03-30 19:21:37 +00:00
pointsto oracle: several major improvements 2015-03-30 19:21:37 +00:00
pointsto-json oracle: several major improvements 2015-03-30 19:21:37 +00:00
referrers oracle: referrers: fix crash when loading nonexistent files 2015-12-30 22:01:27 +00:00
referrers-json oracle: support "referrers" query on package declaration 2015-04-27 13:27:00 +00:00
reflection oracle: several major improvements 2015-03-30 19:21:37 +00:00
what oracle: several major improvements 2015-03-30 19:21:37 +00:00
what-json oracle: several major improvements 2015-03-30 19:21:37 +00:00
whicherrs oracle: several major improvements 2015-03-30 19:21:37 +00:00