mirror of
https://github.com/golang/go.git
synced 2025-05-08 00:53:07 +00:00
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