about summary refs log tree commit diff
path: root/tests/lang/eval-okay-with.nix
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-04-20T09·20+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-04-20T09·20+0000
commitd66ea83a763a36e7e7b9558b90abcfe09bec1b85 (patch)
tree6eaa7fc607da31c6ed3e221826cb1d6be43a6c9b /tests/lang/eval-okay-with.nix
parentf71ea9c911294ec72f52137175ad088a2f50ab97 (diff)
parentaac5fcfbb54ff64c593d8919f7f52025415ea996 (diff)
* Sync with the trunk.
Diffstat (limited to 'tests/lang/eval-okay-with.nix')
-rw-r--r--tests/lang/eval-okay-with.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/lang/eval-okay-with.nix b/tests/lang/eval-okay-with.nix
index ea4ea612dec3..033e8d3aba57 100644
--- a/tests/lang/eval-okay-with.nix
+++ b/tests/lang/eval-okay-with.nix
@@ -7,7 +7,13 @@ let {
     b = "bar";
   };
 
+  bs = {
+    a = "bar";
+  };
+
   x = with as; a + b;
 
-  body = x;
+  y = with as; with bs; a + b;
+
+  body = x + y;
 }