We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 250db21 commit f14fa8eCopy full SHA for f14fa8e
seq.go
@@ -85,7 +85,7 @@ func validateSeqFuncParams(prev, cur reflect.Type) error {
85
if isTakeContext {
86
numIn--
87
}
88
- if prev.NumOut() < numIn {
+ if numOut < numIn {
89
return ErrInvalidSeqFuncs
90
91
0 commit comments