diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-03-10 11:33:46 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-03-10 11:33:46 +0000 |
commit | 08df4436182a12a25aa45fcab2a13dbe71f7f10a (patch) | |
tree | 4d20398a7aab3161ac2329c996c823d7d25b08c4 /tests/lang/parse-fail-dup-attrs-3.nix | |
parent | 97c93526da4dfba1b92a11fb8522c07456d9e1ec (diff) |
* Check for duplicate attributes and formal parameters in Nix
expressions.
Diffstat (limited to 'tests/lang/parse-fail-dup-attrs-3.nix')
-rw-r--r-- | tests/lang/parse-fail-dup-attrs-3.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/lang/parse-fail-dup-attrs-3.nix b/tests/lang/parse-fail-dup-attrs-3.nix new file mode 100644 index 000000000..114d19779 --- /dev/null +++ b/tests/lang/parse-fail-dup-attrs-3.nix @@ -0,0 +1,13 @@ +let { + + as = { + x = 123; + y = 456; + }; + + bs = rec { + x = 789; + inherit (as) x; + }; + +} |