mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 04:41:14 -03:00
Correctly handle mixing named arguments with function name
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.
This commit is contained in:
@@ -18,3 +18,7 @@ $bar: (5)
|
||||
4: ''
|
||||
5: '3'
|
||||
$baz: (0)
|
||||
Function name1 found
|
||||
Function name2 found
|
||||
Function name3 found
|
||||
Function name4 found
|
||||
|
||||
Reference in New Issue
Block a user