Files
mgmt/lang/interpret_test/TestAstFunc2/clear-env-on-var.txtar
James Shubin 55eeb50fb4 lang: Refactor all the highlight helping together
Keep this cleaner and add a bit more.
2025-06-07 17:52:15 -04:00

11 lines
178 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: /main.mcl @ 1:8-1:9