Fix type of variadic

fix-variadic
Yasuhiro Matsumoto 2019-05-10 23:23:32 +09:00
parent 5994cc52df
commit 81b9db8126
No known key found for this signature in database
GPG Key ID: 622DE34DC490584B
1 changed files with 1 additions and 1 deletions

View File

@ -683,7 +683,7 @@ func (c *SQLiteConn) RegisterAggregator(name string, impl interface{}, pure bool
ai.stepArgConverters = append(ai.stepArgConverters, conv)
}
if step.IsVariadic() {
conv, err := callbackArg(t.In(start + stepNArgs).Elem())
conv, err := callbackArg(step.In(start + stepNArgs).Elem())
if err != nil {
return err
}