diff --git a/func-import.go b/func-import.go index 3548d39..bc82540 100644 --- a/func-import.go +++ b/func-import.go @@ -138,10 +138,10 @@ func doImport(ctx ExprContext, name string, dirList []string, it Iterator) (resu func ImportImportFuncs(ctx ExprContext) { ctx.RegisterFunc("import", newGolangFunctor(importFunc), typeAny, []ExprFuncParam{ - newFuncParamFlag(typeFilepath, pfRepeat), + newFuncParamFlag(paramFilepath, pfRepeat), }) ctx.RegisterFunc("importAll", newGolangFunctor(importAllFunc), typeAny, []ExprFuncParam{ - newFuncParamFlag(typeFilepath, pfRepeat), + newFuncParamFlag(paramFilepath, pfRepeat), }) }