about summary refs log tree commit diff
path: root/third_party/nix/src/tests/lang/eval-okay-new-let.nix
blob: 738123141508983cf76c2e89ff8b68b06ac3a60c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
let

  f = z: 

    let
      x = "foo";
      y = "bar";
      body = 1; # compat test
    in
      z + x + y;

  arg = "xyzzy";

in f arg