Files
mgmt/lang/interpret_test/TestAstFunc2/func-shadowing2/main.mcl
2019-07-20 22:27:21 -04:00

6 lines
96 B
Plaintext

$foo = "bad1"
$bar = func($foo) {
"hello " + $foo # shadows parent var
}
test $bar("world") {}