Debian Codegraph @

lang/interpret_test/TestAstFunc1/graph11.txtar

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