issue38068

Constants & Variables

M var #

var M methods

Structs

A struct #

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
}

methods struct #

type methods struct {
m1 func(a *A, x string, y int) string
m2 func(a *A, x string, y int) string
}

Functions

F function #

func F()

G function #

func G(x *A, n int)

P function #

Now a function that makes references to the methods via pointers, which should trigger the wrapper generation.

func P(a *A, ms *methods)

double method #

Inlinable, value-received method with locals and parms.

func (a A) double(x string, y int) string

triple method #

Inlinable, value-received method with locals and parms.

func (a A) triple(x string, y int) string

Generated with Arrow