mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-11-27 15:01:22 +08:00
Add a test for #1800.
This commit is contained in:
parent
98ddd450f7
commit
70587e1a14
|
@ -369,6 +369,8 @@ Compilation error: argument name must not be empty
|
|||
~> {|a a| }
|
||||
Compilation error: duplicate argument name 'a'
|
||||
[tty]:1:5-5: {|a a| }
|
||||
// but multiple _s are OK
|
||||
~> nop {|_ a _| }
|
||||
|
||||
## option name must be unqualified ##
|
||||
~> {|&a:b=1| }
|
||||
|
|
Loading…
Reference in New Issue
Block a user