• Alan Donovan's avatar
    go/types: include package import path in NamedType.String(). · a17c4616
    Alan Donovan authored
    This avoids ambiguity and makes the diagnostics closer to
    those issued by gc, but it is more verbose since it qualifies
    intra-package references.
    
    Without extra context---e.g. a 'from *Package' parameter to
    Type.String()---we are forced to err on one side or the other.
    
    Also, cosmetic changes to exp/ssa:
    - Remove package-qualification workaround in Function.FullName.
    - Always set go/types.Package.Path field to the import path,
      since we know the correct path at this point.
    - In Function.DumpTo, show variadic '...' and result type info,
      and delete now-redundant "# Type: " line.
    
    R=gri
    CC=golang-dev
    https://golang.org/cl/7325051
    a17c4616
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...