* Check for duplicate attributes and formal parameters in Nix
expressions.
This commit is contained in:
parent
97c93526da
commit
08df443618
7 changed files with 93 additions and 1 deletions
13
tests/lang/parse-fail-dup-attrs-3.nix
Normal file
13
tests/lang/parse-fail-dup-attrs-3.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
let {
|
||||
|
||||
as = {
|
||||
x = 123;
|
||||
y = 456;
|
||||
};
|
||||
|
||||
bs = rec {
|
||||
x = 789;
|
||||
inherit (as) x;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue