0
0
Fork 0
lix-releng-staging/tests/lang/eval-okay-empty-args.nix
Eelco Dolstra ca00aa1171 * 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.
2007-05-15 12:14:37 +00:00

2 lines
48 B
Nix

({}: {x,y,}: "${x}${y}") {} {x = "a"; y = "b";}