nix/tests/lang/eval-okay-with.nix
Eelco Dolstra 71be50cc25 * Doh.
2010-03-23 14:51:32 +00:00

20 lines
171 B
Nix

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