about summary refs log blame commit diff
path: root/tests/lang/eval-okay-with.nix
blob: 033e8d3aba57d0306e4cd4f665e34b355f1b1c08 (plain) (tree)
1
2
3
4
5
6
7
8
9







              


              
                     

                              
 
let {

  a = "xyzzy";

  as = {
    a = "foo";
    b = "bar";
  };

  bs = {
    a = "bar";
  };

  x = with as; a + b;

  y = with as; with bs; a + b;

  body = x + y;
}