Logo
Explore Help
Sign In
h/fish-shell
1
Fork 0
You've already forked fish-shell
mirror of https://github.com/fish-shell/fish-shell.git synced 2026-04-20 16:11:14 -03:00
Code Issues Packages Projects Releases Wiki Activity
Files
28a8d0dbf72e48fb515606601a3d7df6e25d0a47
fish-shell/tests/zero_based_array.err

10 lines
199 B
Plaintext
Raw Normal View History

Revert "Update tests" This reverts commit 36367e4882a7278b347a5b8d1d55b67c3ecddc59.
2018-11-28 06:27:21 -08:00
fish: array indices start at 1, not 0.
Emit an error message on literal zero indices Mostly resolves #4862, though there remains the lingering question of whether or not to emit a warning to /dev/tty or stderr when a non-literal-zero index evaluates to zero.
2018-10-01 20:54:55 -05:00
echo $foo[0]
^
Revert "Update tests" This reverts commit 36367e4882a7278b347a5b8d1d55b67c3ecddc59.
2018-11-28 06:27:21 -08:00
fish: array indices start at 1, not 0.
Emit an error message on literal zero indices Mostly resolves #4862, though there remains the lingering question of whether or not to emit a warning to /dev/tty or stderr when a non-literal-zero index evaluates to zero.
2018-10-01 20:54:55 -05:00
echo $foo[ 0 ]
^
Revert "Update tests" This reverts commit 36367e4882a7278b347a5b8d1d55b67c3ecddc59.
2018-11-28 06:27:21 -08:00
fish: array indices start at 1, not 0.
Emit an error message on literal zero indices Mostly resolves #4862, though there remains the lingering question of whether or not to emit a warning to /dev/tty or stderr when a non-literal-zero index evaluates to zero.
2018-10-01 20:54:55 -05:00
echo $foo[ 00 ]
^
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 68ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API