Fix error for vararg functions with zero arguments

This commit is contained in:
Fabian Boehm
2022-09-08 20:45:20 +02:00
parent c284c4ca99
commit 24fd26ae6e
2 changed files with 8 additions and 1 deletions

View File

@@ -109,6 +109,11 @@ not math 'ncr(1)'
# CHECKERR: 'ncr(1)'
# CHECKERR: ^
math "min()"
# CHECKERR: math: Error: Too few arguments
# CHECKERR: 'min()'
# CHECKERR: ^
# There is no "blah" function.
not math 'blah()'
# CHECKERR: math: Error: Unknown function