11 lines
195 B
Plaintext
11 lines
195 B
Plaintext
-- main.mcl --
|
|
# this should be okay, because var is shadowed
|
|
$x = "hello"
|
|
if true {
|
|
$x = "world" # shadowed
|
|
test "${x}" {}
|
|
}
|
|
-- OUTPUT --
|
|
Vertex: const: bool(true)
|
|
Vertex: const: str("world")
|