• 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
..
interp Loading commit data...
blockopt.go Loading commit data...
builder.go Loading commit data...
doc.go Loading commit data...
emit.go Loading commit data...
func.go Loading commit data...
importer.go Loading commit data...
literal.go Loading commit data...
lvalue.go Loading commit data...
print.go Loading commit data...
promote.go Loading commit data...
sanity.go Loading commit data...
ssa.go Loading commit data...
ssadump.go Loading commit data...
util.go Loading commit data...