Files
mgmt/lang/interpret_test/TestAstFunc1/graph11.txtar
James Shubin 28f5b8331a lang: funcs: structs: Improve naming
These could print nicer for debugging.
2024-12-08 16:24:42 -05:00

15 lines
264 B
Plaintext

-- main.mcl --
# variable shadowing inner
# this should be okay, because var is shadowed
$x = "hello"
if true {
$x = "world" # shadowed
test "t" {
stringptr => $x,
}
}
-- OUTPUT --
Vertex: const: bool(true)
Vertex: const: str("t")
Vertex: const: str("world")