1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:34:45 -07:00
go/oracle
Alan Donovan 0dcaae1610 go.tools/go/loader: permit Create* methods to specify the ad-hoc package's path
CL 49530047 made the (over-)simplifying assumption that the
Path of an ad-hoc (Created) package should default to its
Name, i.e. package declaration.

With this change, the Name is still always computed from the
package declaration (by go/types) but the Path may be
specified by the loader.Config.  If "", the value of the Name
is used, which is not globally unique.

R=gri, axwalk
CC=golang-codereviews
https://golang.org/cl/55180043
2014-01-22 09:59:19 -05:00
..
serial go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00
testdata/src go.tools/oracle: adjust golden output to new names 2014-01-10 16:05:14 -08:00
callees.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
callers.go go.tools/call: rename package to go/callgraph 2014-01-16 14:04:19 -05:00
callgraph.go go.tools/call: rename package to go/callgraph 2014-01-16 14:04:19 -05:00
callstack.go go.tools/call: rename package to go/callgraph 2014-01-16 14:04:19 -05:00
definition.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
describe.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
freevars.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
implements.go go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00
oracle_test.go go.tools/go/loader: permit Create* methods to specify the ad-hoc package's path 2014-01-22 09:59:19 -05:00
oracle.go go.tools/call: rename package to go/callgraph 2014-01-16 14:04:19 -05:00
peers.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
pointsto.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
pos.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
referrers.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
TODO go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00
what.go go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00