Files
mgmt/lang/interpret_test/TestAstFunc2/clear-env-on-var.txtar
2025-03-12 03:33:08 -04:00

11 lines
157 B
Plaintext

-- main.mcl --
$wat = $x
$f = func($x) {
$wat
}
$name = $f("foo")
test "${name}" {}
-- OUTPUT --
# err: errSetScope: var `$x` does not exist in this scope