about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-fix.nix
blob: 27d2fae1042e20383602743c5499c26d9e0ea8ac (plain) (blame)
1
2
3
4
5
6
7
let
  fix = f: let x = f x; in x;
in fix(self: {
  a = 1;
  b = self.a + 20;
  c = self.b * 2;
})