11 lines
239 B
Plaintext
11 lines
239 B
Plaintext
-- main.mcl --
|
|
$name = ["a", "bb", "ccc",]
|
|
test $name {}
|
|
test "test" {}
|
|
|
|
#Test["test"] -> Test[$name] # must pass
|
|
Test["test"] -> Test["${name}"] # must fail
|
|
|
|
-- OUTPUT --
|
|
# err: errUnify: type error: str != list: /main.mcl @ 6:17-6:32
|