mirror of https://github.com/golang/go.git
Ensure that formal parameter Names are correctly copied and marked with the correct Curfn. We need to ensure this even when the underlying closure has no type parameters. (Aside: it is strange that the types of things contain formal parameter names that need to be copied. Maybe that's an underlying larger problem that needs to be fixed.) Fixes #45738 Change-Id: Ia13d69eea992ff7080bd44065115bc52eb624e73 Reviewed-on: https://go-review.googlesource.com/c/go/+/313652 Trust: Keith Randall <khr@golang.org> Trust: Dan Scales <danscales@google.com> Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dan Scales <danscales@google.com> |
||
|---|---|---|
| .. | ||
| absdiff.go | ||
| adder.go | ||
| append.go | ||
| chans.go | ||
| combine.go | ||
| cons.go | ||
| double.go | ||
| fact.go | ||
| graph.go | ||
| importtest.go | ||
| index.go | ||
| interfacearg.go | ||
| issue45547.go | ||
| issue45722.go | ||
| issue45738.go | ||
| list.go | ||
| list2.go | ||
| lockable.go | ||
| map.go | ||
| maps.go | ||
| metrics.go | ||
| min.go | ||
| ordered.go | ||
| orderedmap.go | ||
| pair.go | ||
| pragma.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 | ||