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