mirror of
https://github.com/golang/go
synced 2024-11-17 11:44:51 -07:00
f2717b31b5
During substitution of the function type during stenciling, we must set the Name nodes of the param/result fields of the func type. We get those name nodes from the substituted Dcl nodes of the PPARAMS and PPARAMOUTs. But we must check that the names match with the Dcl nodes, so that we skip any param fields that correspond to unnamed (in) parameters. Added a few tests to typelist.go by removing a variety of unneeded function parameter names. Change-Id: If786961b64549da6f18eeeb5060ea58fab874eb9 Reviewed-on: https://go-review.googlesource.com/c/go/+/305912 Trust: Dan Scales <danscales@google.com> Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Dan Scales <danscales@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org> |
||
---|---|---|
.. | ||
absdiff.go | ||
adder.go | ||
append.go | ||
chans.go | ||
combine.go | ||
cons.go | ||
double.go | ||
fact.go | ||
graph.go | ||
importtest.go | ||
index.go | ||
interfacearg.go | ||
list2.go | ||
list.go | ||
lockable.go | ||
map.go | ||
maps.go | ||
metrics.go | ||
min.go | ||
ordered.go | ||
orderedmap.go | ||
pair.go | ||
sets.go | ||
settable.go | ||
slices.go | ||
smallest.go | ||
smoketest.go | ||
stringable.go | ||
stringer.go | ||
struct.go | ||
sum.go | ||
tparam1.go | ||
typelist.go | ||
value.go |