(name string, opts ...decls.FunctionOpt)
| 931 | } |
| 932 | |
| 933 | func function(name string, opts ...decls.FunctionOpt) *decls.FunctionDecl { |
| 934 | fn, err := decls.NewFunction(name, opts...) |
| 935 | if err != nil { |
| 936 | panic(err) |
| 937 | } |
| 938 | return fn |
| 939 | } |
| 940 | |
| 941 | func argTypes(args ...*types.Type) []*types.Type { |
| 942 | return args |
no test coverage detected