about summary refs log blame commit diff
path: root/tvix/eval/src/tests/nix_tests/eval-okay-with.nix
blob: 033e8d3aba57d0306e4cd4f665e34b355f1b1c08 (plain) (tree)


















                              
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;
}