Descriptiongo.tools/go/types: add (*PkgName).ImportedPackage method.
It returns the value formerly returned by Pkg(), i.e. the imported package.
Pkg() now returns the package enclosing the import statement,
which is consistent with all other Objects.
Fixes issue 8628.
Patch Set 1 #Patch Set 2 : diff -r d37bfb5c5ae7ed21715ffa38d14587d24d653f71 https://code.google.com/p/go.tools #Patch Set 3 : diff -r d37bfb5c5ae7ed21715ffa38d14587d24d653f71 https://code.google.com/p/go.tools #
Total comments: 2
Patch Set 4 : diff -r d37bfb5c5ae7ed21715ffa38d14587d24d653f71 https://code.google.com/p/go.tools #
Total comments: 4
Patch Set 5 : diff -r d37bfb5c5ae7ed21715ffa38d14587d24d653f71 https://code.google.com/p/go.tools #
MessagesTotal messages: 6
|