Files
mgmt/lang/interpret_test/TestAstFunc2/printfunificationerr0.txtar
James Shubin e10e92596f lang: types: Add stringer information manually
This lets us get the more correct lowercase versions of type kinds in
error messages. (These match what the user would type.)
2024-07-01 18:35:20 -04:00

6 lines
208 B
Plaintext

-- main.mcl --
import "fmt"
test fmt.printf("%d%d", 42) {} # should not pass, missing second int
-- OUTPUT --
# err: errUnify: unify error with: call:fmt.printf(str("%d%d"), int(42)): type error: str != list