This lets us get the more correct lowercase versions of type kinds in error messages. (These match what the user would type.)
9 lines
188 B
Plaintext
9 lines
188 B
Plaintext
-- main.mcl --
|
|
$name = ["a", "bb", "ccc",]
|
|
|
|
#test $name {} # must pass
|
|
test "${name}" {} # must fail
|
|
|
|
-- OUTPUT --
|
|
# err: errUnify: unify error with: var(name): type error: str != list
|