about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-list-to-attrs-propagate-catchable.nix
blob: 232758980fb5b1a1f7110e554fe51d30aa93b4eb (plain) (blame)
1
2
3
4
5
6
7
map (e: (builtins.tryEval e).success) [
  (builtins.listToAttrs [ { name = builtins.throw "a"; value = "b"; } ])
  (builtins.listToAttrs [ { name = "a"; value = builtins.throw "b"; } ])
  (builtins.listToAttrs [ { name = "a"; value = "b"; } { name = "c"; value = builtins.throw "d"; } ])
  (builtins.listToAttrs [ { name = "a"; value = "b"; } (builtins.throw "e") ])
  (builtins.listToAttrs (builtins.throw "f"))
]