about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-nested-deferred-upvalue.nix
blob: 3fa1d3ed057cc9b1582eda31e66364267f942e7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
let
  doubler = n: outer n;
  outer =
    let
      inner = n: a * n;
      a = 2;
    in
    inner;
in
doubler 10