summary refs log tree commit diff
path: root/tests/lang/eval-okay-with.nix
blob: ea4ea612dec3f8c62b49f92c768b71427710b22e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
let {

  a = "xyzzy";

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

  x = with as; a + b;

  body = x;
}