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: 91b9f889bba13adfb0b108838f9e0abf29f7b456 (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"))
]