This lets us get the more correct lowercase versions of type kinds in error messages. (These match what the user would type.)
7 lines
142 B
Plaintext
7 lines
142 B
Plaintext
-- main.mcl --
|
|
test "t1" {
|
|
stringptr => 42, # int, not str
|
|
}
|
|
-- OUTPUT --
|
|
# err: errUnify: unify error with: int(42): type error: str != int
|