Debian Codegraph @

lang/interpret_test/TestAstFunc2/printfempty.txtar

raw
1 -- main.mcl --
2 import "fmt"
3
4 # This should not unify, we need at least one arg.
5 # NOTE: We have historically needed to turn on the recursive solver to find that
6 # this was a bug!
7 test fmt.printf() {}
8
9 -- OUTPUT --
10 # err: errUnify: func `printf` infer error: must have at least one arg