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