• Robert Griesemer's avatar
    go/types: adjust gcimporter to actual gc export data · f6fe3271
    Robert Griesemer authored
    Unexported field and method names that appear in the
    export data (as part of some exported type) are fully
    qualified with a package id (path). In some cases, a
    package with that id was never exported for any other
    use (i.e. only the path is of interest).
    
    We must not create a "real" package in those cases
    because we don't have a package name. Entering an
    unnamed package into the map of imported packages
    makes that package accessible for other imports.
    Such a subsequent import may find the unnamed
    package in the map, and reuse it. That reused and
    imported package is then entered into the importing
    file scope, still w/o a name. References to that
    package cannot resolved after that. Was bug.
    
    R=adonovan
    CC=golang-dev
    https://golang.org/cl/7307112
    f6fe3271
Name
Last commit
Last update
..
cookiejar Loading commit data...
ebnf Loading commit data...
ebnflint Loading commit data...
gotype Loading commit data...
inotify Loading commit data...
locale/collate Loading commit data...
norm Loading commit data...
ssa Loading commit data...
utf8string Loading commit data...
winfsnotify Loading commit data...
README Loading commit data...