about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/eval-okay-attrs.nix
blob: 810b31a5da96d2b121dd019ca04c5bc1727ffbb4 (plain) (blame)
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;
}