You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfmt.Errorf("reducer function's second argumenthas to be the type of element of input slice")
28
+
returnfmt.Errorf("reduceFn's second argument's type(%s) has to be the type of element of input slice(%s)", reducerFnType.In(1).Kind(), input.Type().Elem().Kind())
29
29
}
30
30
ifoutputKind!=reducerFnType.Out(0).Kind() {
31
-
returnfmt.Errorf("reducer function's return type has to be the type of out")
31
+
returnfmt.Errorf("reduceFn's return type(%s) has to be the type of out(%s)", reducerFnType.Out(0).Kind(), outputKind)
0 commit comments