summary refs log tree commit diff
path: root/tests/lang/eval-okay-scope-3.nix
blob: 10d6bc04d830140e9e490f2f3dbc044b561b545c (plain) (blame)
1
2
3
4
5
6
((x: as: {x}:
  rec {
    inherit (as) x;
    y = x;
  }
) 2 {x = 4;} {x = 3;}).y