mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 19:03:38 +08:00
286c60bc9d
Before this fix, `function -a arg1 name1` would produce a function named 'arg1'. After this fix, it will produce a function named 'name'. See #2068 for more.
25 lines
305 B
Plaintext
25 lines
305 B
Plaintext
Testing -V
|
|
$foo: (1)
|
|
1: 'local foo'
|
|
$bar: (5)
|
|
1: 'one'
|
|
2: 'two 2'
|
|
3: ' '
|
|
4: ''
|
|
5: '3'
|
|
$baz: (0)
|
|
Testing -V with changed variables
|
|
$foo: (1)
|
|
1: 'local foo'
|
|
$bar: (5)
|
|
1: 'one'
|
|
2: 'two 2'
|
|
3: ' '
|
|
4: ''
|
|
5: '3'
|
|
$baz: (0)
|
|
Function name1 found
|
|
Function name2 found
|
|
Function name3 found
|
|
Function name4 found
|