mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
49b49d7ed4
Fixes #2067
33 lines
697 B
Text
33 lines
697 B
Text
Array index out of bounds
|
|
fish: show "$foo[2]"
|
|
^
|
|
Array index out of bounds
|
|
fish: show $foo[2]
|
|
^
|
|
Array index out of bounds
|
|
fish: show "$foo[1 2]"
|
|
^
|
|
Array index out of bounds
|
|
fish: show $foo[1 2]
|
|
^
|
|
Array index out of bounds
|
|
fish: show "$foo[2 1]"
|
|
^
|
|
Array index out of bounds
|
|
fish: show $foo[2 1]
|
|
^
|
|
Invalid index value
|
|
fish: echo "$foo[d]"
|
|
^
|
|
Invalid index value
|
|
fish: echo $foo[d]
|
|
^
|
|
Array index out of bounds
|
|
fish: echo ()[1]
|
|
^
|
|
Invalid index value
|
|
fish: echo ()[d]
|
|
^
|
|
$) is not a valid variable in fish.
|
|
fish: echo $$paren
|
|
^
|