aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-okay-scope-3.nix
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-okay-scope-3.nix')
-rw-r--r--test/testdata/eval-okay-scope-3.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testdata/eval-okay-scope-3.nix b/test/testdata/eval-okay-scope-3.nix
new file mode 100644
index 0000000..10d6bc0
--- /dev/null
+++ b/test/testdata/eval-okay-scope-3.nix
@@ -0,0 +1,6 @@
1((x: as: {x}:
2 rec {
3 inherit (as) x;
4 y = x;
5 }
6) 2 {x = 4;} {x = 3;}).y