about summary refs log tree commit diff
path: root/tests/lang/eval-okay-scope-3.nix
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-10-27T12·41+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-10-27T12·41+0000
commit463e2817c55fbd5b026d7dd630541b990b82418a (patch)
treef1017907a6bee3baed04e35c5b25bdaa454dedf8 /tests/lang/eval-okay-scope-3.nix
parentf09618b63a3e842adc59360c9bb4cf0ad37246ef (diff)
* Remove ancient Fix tests.
* Add automated Nix expression language tests.

Diffstat (limited to 'tests/lang/eval-okay-scope-3.nix')
-rw-r--r--tests/lang/eval-okay-scope-3.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-scope-3.nix b/tests/lang/eval-okay-scope-3.nix
new file mode 100644
index 000000000000..10d6bc04d830
--- /dev/null
+++ b/tests/lang/eval-okay-scope-3.nix
@@ -0,0 +1,6 @@
+((x: as: {x}:
+  rec {
+    inherit (as) x;
+    y = x;
+  }
+) 2 {x = 4;} {x = 3;}).y