11 lines
239 B
Plaintext
11 lines
239 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: type error: str != list: /main.mcl @ 6:1-6:16
|