mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 10:41:17 +08:00
08d42a0507
Fixes #3649
34 lines
631 B
Plaintext
34 lines
631 B
Plaintext
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
|
|
^
|