guix/tests/lang/eval-okay-scope-3.nix

7 lines
82 B
Nix
Raw Normal View History

((x: as: {x}:
rec {
inherit (as) x;
y = x;
}
) 2 {x = 4;} {x = 3;}).y