For some reason, the type of the last Param in a wrapper function for a variadic method (T) f(...U) had type [][]U instead of []U. (Possibly a workaround for a long-since fixed bug in go/types?) Added a sanity check to ensure that the common suffix of fn.Params and fn.Signature.Params match in type. Fixes golang/go#27453 Change-Id: I9506f4f67a7ff3a283e9ec0142f638aad00287a9 Reviewed-on: https://go-review.googlesource.com/134515 Reviewed-by: Robert Griesemer <gri@golang.org> |
||
|---|---|---|
| .. | ||
| ast/astutil | ||
| buildutil | ||
| callgraph | ||
| gccgoexportdata | ||
| gcexportdata | ||
| internal | ||
| loader | ||
| packages | ||
| pointer | ||
| ssa | ||
| types/typeutil | ||
| vcs | ||