about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-list-to-attrs-propagate-catchable.nix
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"))
]