about summary refs log blame commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-remove-attrs-propagate-catchable.nix
blob: 2eb011aedf0710385954191ba244e3df77ed8fc8 (plain) (tree)
1
2
3
4
5
6





                                                                   
map (e: (builtins.tryEval e).success) [
  (builtins.removeAttrs (builtins.throw "a") [ "a" ])
  (builtins.removeAttrs { a = {}; } (builtins.throw "b"))
  (builtins.removeAttrs { a = builtins.throw "b"; } [ "a" ])
  (builtins.removeAttrs { "${builtins.throw "c"}" = "b"; } [ "c" ])
]