Debian Codegraph @

lang/interpret_test/TestAstFunc1/shadowing1.txtar

raw
1 -- main.mcl --
2 # this should be okay, because var is shadowed
3 $x = "hello"
4 if true {
5 $x = "world" # shadowed
6 }
7 test "${x}" {}
8 -- OUTPUT --
9 Vertex: const
10 Vertex: const