mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-16 01:38:24 +00:00
08d42a0507
Fixes #3649
33 lines
631 B
Text
33 lines
631 B
Text
fish: Array index out of bounds
|
|
show "$foo[2]"
|
|
^
|
|
fish: Array index out of bounds
|
|
show $foo[2]
|
|
^
|
|
fish: Array index out of bounds
|
|
show "$foo[1 2]"
|
|
^
|
|
fish: Array index out of bounds
|
|
show $foo[1 2]
|
|
^
|
|
fish: Array index out of bounds
|
|
show "$foo[2 1]"
|
|
^
|
|
fish: Array index out of bounds
|
|
show $foo[2 1]
|
|
^
|
|
fish: Invalid index value
|
|
echo "$foo[d]"
|
|
^
|
|
fish: Invalid index value
|
|
echo $foo[d]
|
|
^
|
|
fish: Array index out of bounds
|
|
echo ()[1]
|
|
^
|
|
fish: Invalid index value
|
|
echo ()[d]
|
|
^
|
|
fish: $) is not a valid variable in fish.
|
|
echo $$paren
|
|
^
|