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





                                                                                   
 
map (e: (builtins.tryEval e).success) [
  (builtins.foldl' (builtins.throw "a") { } [{ } { } { }])
  (builtins.foldl' (x: y: x // y) { } (builtins.throw "b"))
  (builtins.foldl' (_: _: builtins.throw "x") { } [{ }])
  (builtins.foldl' (x: y: x // y) (builtins.throw "x") [{ }])
  (builtins.foldl' (x: y: x // y) { } [{ } { a = builtins.throw "z"; } { }])
  (builtins.foldl' (x: y: x // y) { } [{ } { b = 3; a = builtins.throw "u"; } { }])
]