mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 15:37: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
|
|
^
|