aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-okay-scope-4.nix
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-okay-scope-4.nix')
-rw-r--r--test/testdata/eval-okay-scope-4.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/testdata/eval-okay-scope-4.nix b/test/testdata/eval-okay-scope-4.nix
new file mode 100644
index 0000000..dc8243b
--- /dev/null
+++ b/test/testdata/eval-okay-scope-4.nix
@@ -0,0 +1,10 @@
1let {
2
3 x = "a";
4 y = "b";
5
6 f = {x ? y, y ? x}: x + y;
7
8 body = f {x = "c";} + f {y = "d";};
9
10}