fish-shell/tests/zero_based_array.in
Mahmoud Al-Qudsi 264d8270a7 Emit an error message on literal zero indices
Mostly resolves #4862, though there remains the lingering question of
whether or not to emit a warning to /dev/tty or stderr when a
non-literal-zero index evaluates to zero.
2018-10-01 20:58:26 -05:00

3 lines
44 B
Fish

echo $foo[0]
echo $foo[ 0 ]
echo $foo[ 00 ]