fish-shell/tests/expansion.err
ridiculousfish d6a5792ce2 Allow nested square brackets again
Code like echo $list[$var[1]] was producing an error because of
nested square brackets. Allow these brackets again.

Fixes #5362
2018-11-22 17:57:27 -08:00

27 lines
414 B
Text

####################
# Slices
fish: Invalid index value
echo "$foo[d]"
^
fish: Invalid index value
echo $foo[d]
^
fish: Invalid index value
echo ()[d]
^
####################
# Percent self
####################
# Catch your breath
fish: $) is not a valid variable in fish.
echo $$paren
^
####################
# Test tilde expansion
####################
# Test path variables