summary refs log tree commit diff
path: root/tests/lang/eval-okay-scope-4.nix
blob: dc8243bc85466195932daf5b781a11223e039df7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
let {

  x = "a";
  y = "b";

  f = {x ? y, y ? x}: x + y;

  body = f {x = "c";} + f {y = "d";};

}