diff options
Diffstat (limited to 'test/testdata/eval-okay-scope-1.nix')
-rw-r--r-- | test/testdata/eval-okay-scope-1.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testdata/eval-okay-scope-1.nix b/test/testdata/eval-okay-scope-1.nix new file mode 100644 index 0000000..fa38a71 --- /dev/null +++ b/test/testdata/eval-okay-scope-1.nix | |||
@@ -0,0 +1,6 @@ | |||
1 | (({x}: x: | ||
2 | |||
3 | { x = 1; | ||
4 | y = x; | ||
5 | } | ||
6 | ) {x = 2;} 3).y | ||