nix-super/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

1 line
48 B
Nix

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