From bd5f8e54e51f9612b9311993c26bf9c6e6329749 Mon Sep 17 00:00:00 2001 From: Walter Schulze Date: Thu, 30 Nov 2017 15:19:24 +0100 Subject: [PATCH] regenerate --- test/normal/derived.gen.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/normal/derived.gen.go b/test/normal/derived.gen.go index 5495334..fc95062 100644 --- a/test/normal/derived.gen.go +++ b/test/normal/derived.gen.go @@ -2441,13 +2441,6 @@ func deriveContainsStruct(list []*BuiltInTypes, item *BuiltInTypes) bool { return false } -// deriveUncurryCurried combines a function that returns a function, into one function. -func deriveUncurryCurried(f func(b string) func(c bool) string) func(b string, c bool) string { - return func(b string, c bool) string { - return f(b)(c) - } -} - // deriveUncurryMarshal combines a function that returns a function, into one function. func deriveUncurryMarshal(f func(data []byte) func(v interface{}) error) func(data []byte, v interface{}) error { return func(data []byte, v interface{}) error { @@ -2462,6 +2455,13 @@ func deriveUncurry3(f func(a int) func(b string, c bool) string) func(a int, b s } } +// deriveUncurryCurried combines a function that returns a function, into one function. +func deriveUncurryCurried(f func(b string) func(c bool) string) func(b string, c bool) string { + return func(b string, c bool) string { + return f(b)(c) + } +} + // deriveCompose composes functions f0 and f1 into one function, that takes the parameters from f0 and returns the results from f1. func deriveCompose(f0 func() (string, error), f1 func(string) (float64, error)) func() (float64, error) { return func() (float64, error) {