aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-okay-attrs.nix
blob: 810b31a5da96d2b121dd019ca04c5bc1727ffbb4 (plain)
1
2
3
4
5
let {
  as = { x = 123; y = 456; } // { z = 789; } // { z = 987; };

  body = if as ? a then as.a else assert as ? z; as.z;
}