fix built in functions

This commit is contained in:
2023-03-28 00:17:58 +01:00
parent dab8753e52
commit 5a785cbbc6
6 changed files with 37 additions and 40 deletions

View File

@@ -92,9 +92,6 @@ func runCall(c call, stack stack, stacklevel int) (any, ArErr) {
}
switch x := callable.(type) {
case builtinFunc:
for i := range args {
args[i] = ArValidToAny(args[i])
}
resp, err := x.FUNC(args...)
resp = AnyToArValid(resp)
if err.EXISTS {