about summary refs log blame commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-remove-attrs-propagate-catchable.nix
blob: 8ca8a414aa93bd98e5c75ed356885c78b60fc1ef (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" ])
]