1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-11-06 08:39:09 +02:00

return the *FqlCompiler customed replace default (#227)

Invalid return value
This commit is contained in:
eruca
2019-02-05 04:30:12 +08:00
committed by Tim Voronov
parent 24512715e5
commit e9cd4d414d

View File

@@ -28,9 +28,7 @@ func New(setters ...Option) *FqlCompiler {
c.funcs = make(map[string]core.Function)
}
return &FqlCompiler{
stdlib.NewLib(),
}
return c
}
func (c *FqlCompiler) RegisterFunction(name string, fun core.Function) error {