about summary refs log tree commit diff
path: root/tests/lang/eval-fail-bad-value.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/eval-fail-bad-value.nix')
-rw-r--r--tests/lang/eval-fail-bad-value.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/lang/eval-fail-bad-value.nix b/tests/lang/eval-fail-bad-value.nix
new file mode 100644
index 000000000000..97969145eeb1
--- /dev/null
+++ b/tests/lang/eval-fail-bad-value.nix
@@ -0,0 +1,7 @@
+let {
+
+  f = {x, y : ["baz" "bat"]}: x + y;
+
+  body = f {x = "foo"; y = "bar";};
+
+}