-- main.mcl --
$x = "not this x"
$add = func($x) {
	func($y) {$x + $y}
}
$addfoo = $add("foo")

# making sure that $x correctly refers to the lambda parameter rather than the
# top-level "not this x", even in the Value() codepath.
$name = $addfoo("bar")
test "${name}" {}
-- OUTPUT --
Vertex: test[foobar]
