'local var' is available in POSIX mode
sample:
func() { local a=123 echo $a } func
command used to reproduce the bug:
yash -o posixlycorrect path/to/sample/script
output:
123 (no error)
expected behavior:
local isn't posix and yash should exit with fatal error
Affected built-ins:
I second this request to fix this bug with local.
sample:
command used to reproduce the bug:
yash -o posixlycorrect path/to/sample/script
output:
123 (no error)
expected behavior:
local isn't posix and yash should exit with fatal error