Files
mgmt/lang/interpret_test/TestAstFunc2/printfunificationerr0.txtar
2025-05-25 01:17:28 -04:00

6 lines
216 B
Plaintext

-- main.mcl --
import "fmt"
test fmt.printf("%d%d", 42) {} # should not pass, missing second int
-- OUTPUT --
# err: errUnify: func `printf` infer error: number of args (1) doesn't match format string verb count (2)