Files
mgmt/lang/interpret_test/TestAstFunc2/unify-interpolate-edge1-fail.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

11 lines
246 B
Plaintext

-- main.mcl --
$name = ["a", "bb", "ccc",]
test $name {}
test "test" {}
#Test[$name] -> Test["test"] # must pass
Test["${name}"] -> Test["test"] # must fail
-- OUTPUT --
# err: errUnify: unify error with: var(name): type error: str != list