• griesemer's avatar
    go/types: fix Info.Implicits entries · cecba84a
    griesemer authored
    Packages of dot imports don't appear in the Info.Implicits map
    since they are already taken care of by the Info.Defs map. Fix
    documentation.
    
    Implicitly dot-imported objects of a package shouldn't appear
    in the Info.Implicits map because the documentation never said
    so and there's no way to map multiple objects to the same
    *ast.ImportSpec with the current data structure.
    
    Added missing test for Info.Implicits.
    
    The fix is a trivial one-line deletion, the rest is documentation
    and test.
    
    Fixes #21591.
    
    Change-Id: I12a37dab85c531911c9363ec3d58daa095c7eb24
    Reviewed-on: https://go-review.googlesource.com/60672Reviewed-by: 's avatarAlan Donovan <adonovan@google.com>
    cecba84a
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...