☰
Debian Codegraph
@
0.0.26.git.2024.10.25.85e1d6c0e8-4
/
/
lang
/
interpret_test
/
TestAstFunc2
/
shadowing2.txtar
☽
☼
lang/interpret_test/TestAstFunc2/shadowing2.txtar
code
plain
raw
GPL-3.0
(C) 2013-2024, James Shubin and the project contributors
debian/copyright
1
-- main.mcl --
2
# this should be okay, because var is shadowed
3
$x = "hello"
4
if true {
5
$x = "world" # shadowed
6
test "${x}" {}
7
}
8
-- OUTPUT --
9
Vertex: test[world]