mirror of
https://github.com/NixOS/nix
synced 2025-07-12 19:05:08 +02:00
* Allow empty argument lists in function definitions (e.g., `{}:
bla'). Also allow trailing commas (`{x, y,}: ...') as a unintented consequence. Hopefully the reduce/reduce conflict won't cause any problems.
This commit is contained in:
parent
7046c35843
commit
ca00aa1171
3 changed files with 3 additions and 0 deletions
1
tests/lang/eval-okay-empty-args.exp
Normal file
1
tests/lang/eval-okay-empty-args.exp
Normal file
|
@ -0,0 +1 @@
|
|||
Str("ab",[])
|
Loading…
Add table
Add a link
Reference in a new issue