about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/eval-fail-scope-5.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/tests/nix_tests/eval-fail-scope-5.nix')
-rw-r--r--tvix/eval/src/tests/nix_tests/eval-fail-scope-5.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/nix_tests/eval-fail-scope-5.nix b/tvix/eval/src/tests/nix_tests/eval-fail-scope-5.nix
new file mode 100644
index 000000000000..f89a65a99be3
--- /dev/null
+++ b/tvix/eval/src/tests/nix_tests/eval-fail-scope-5.nix
@@ -0,0 +1,10 @@
+let {
+
+  x = "a";
+  y = "b";
+
+  f = {x ? y, y ? x}: x + y;
+
+  body = f {};
+
+}