M var #
var M methods
var M methods
A type with a couple of inlinable, non-pointer-receiver methods that have params and local variables.
type A struct {
s string
next *A
prev *A
}
type methods struct {
m1 func(a *A, x string, y int) string
m2 func(a *A, x string, y int) string
}
func F()
func G(x *A, n int)
Now a function that makes references to the methods via pointers, which should trigger the wrapper generation.
func P(a *A, ms *methods)
Inlinable, value-received method with locals and parms.
func (a A) double(x string, y int) string
Inlinable, value-received method with locals and parms.
func (a A) triple(x string, y int) string
Generated with Arrow