mirror of
https://github.com/golang/go
synced 2024-11-19 02:14:43 -07:00
7072253af5
Fix bug: the Signature for an interface method wrapper erroneously had a non-nil receiver. Function: - Set Pkg field non-nil even for wrappers. It is equal to that of the wrapped function. Only wrappers of error.Error (and its embeddings in other interfaces) may have nil. Sanity checker now asserts this. - FullName() now uses .Synthetic field to discriminate synthetic methods, not Pkg==nil. - Fullname() uses new relType() utility to print receiver type name unqualified if it belongs to the same package. (Alloc.String also uses relType utility.) CallCommon: - Description(): fix switch logic broken when we eliminated the Recv field. - better docs. R=david.crawshaw, crawshaw, gri CC=golang-dev https://golang.org/cl/13057043 |
||
---|---|---|
.. | ||
interp | ||
testdata | ||
blockopt.go | ||
builder_test.go | ||
builder.go | ||
const.go | ||
create.go | ||
doc.go | ||
dom.go | ||
emit.go | ||
example_test.go | ||
func.go | ||
lift.go | ||
lvalue.go | ||
print.go | ||
promote.go | ||
sanity.go | ||
source_test.go | ||
source.go | ||
ssa.go | ||
ssadump.go | ||
stdlib_test.go | ||
testmain.go | ||
util.go | ||
visit.go |