mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
* Allow function argument default values to refer to other arguments
of the function. Implements NIX-45.
This commit is contained in:
parent
310e605995
commit
5cabd47394
5 changed files with 51 additions and 39 deletions
1
tests/lang/eval-fail-missing-arg.nix
Normal file
1
tests/lang/eval-fail-missing-arg.nix
Normal file
|
@ -0,0 +1 @@
|
|||
({x, y, z}: x + y + z) {x = "foo"; z = "bar";}
|
Loading…
Add table
Add a link
Reference in a new issue