mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 23:47:25 +00:00
534fd1a59e
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
|
|
^
|