mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
add test for inherit expr printing
This commit is contained in:
parent
8669c02468
commit
73065a400d
2 changed files with 10 additions and 0 deletions
9
tests/functional/lang/parse-okay-inherits.nix
Normal file
9
tests/functional/lang/parse-okay-inherits.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
let
|
||||
c = {};
|
||||
b = 2;
|
||||
in {
|
||||
a = 1;
|
||||
inherit b;
|
||||
inherit (c) d e;
|
||||
f = 3;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue