lang: Add more tests for function
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
$foo = "bad1"
|
||||
$bar = func($foo) {
|
||||
"hello " + $foo # shadows parent var
|
||||
}
|
||||
test $bar("world") {}
|
||||
Reference in New Issue
Block a user