mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
534fd1a59e
Fixes #2067
34 lines
697 B
Plaintext
34 lines
697 B
Plaintext
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
|
|
^
|