1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:54:41 -07:00
go/oracle
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
..
serial oracle: several major improvements 2015-03-30 19:21:37 +00:00
testdata/src oracle: referrers: fix crash when loading nonexistent files 2015-12-30 22:01:27 +00:00
callees.go go/ssa: rename some API features (incompatible change) 2015-08-31 22:20:12 +00:00
callers.go go/ssa: rename some API features (incompatible change) 2015-08-31 22:20:12 +00:00
callstack.go go/ssa: rename some API features (incompatible change) 2015-08-31 22:20:12 +00:00
definition.go oracle: implements: inspect all packages in the analysis scope 2015-12-02 22:28:52 +00:00
describe.go oracle: describe: fix crash on bad ImportSpec 2015-12-30 20:24:55 +00:00
freevars.go oracle: implements: inspect all packages in the analysis scope 2015-12-02 22:28:52 +00:00
implements.go oracle: implements: inspect all packages in the analysis scope 2015-12-02 22:28:52 +00:00
oracle_test.go x/tools: disable tests not supported on Android 2015-08-06 00:36:03 +00:00
oracle.go oracle: implements: inspect all packages in the analysis scope 2015-12-02 22:28:52 +00:00
peers.go go/ssa: rename some API features (incompatible change) 2015-08-31 22:20:12 +00:00
pointsto.go go/ssa: rename some API features (incompatible change) 2015-08-31 22:20:12 +00:00
pos.go oracle: several major improvements 2015-03-30 19:21:37 +00:00
referrers.go oracle: referrers: fix crash when loading nonexistent files 2015-12-30 22:01:27 +00:00
TODO oracle: several major improvements 2015-03-30 19:21:37 +00:00
what.go cmd/oracle: improve error messages 2015-05-13 15:02:11 +00:00
whicherrs.go go/ssa: rename some API features (incompatible change) 2015-08-31 22:20:12 +00:00