snix/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-group-by-propagate-catchable.nix
Aspen Smith 5ced8e7292 fix(tvix/eval): Propagate catchables in builtins.groupBy
One last place where we needed to wrap the forcing of the element of a
list in `try_value!`. This fixes a previously `notyetpassing` test

Change-Id: I8827a3e39630e6959013b70bdfa9cbcb93f4e91c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10789
Autosubmit: aspen <root@gws.fyi>
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
2024-02-20 23:53:58 +00:00

5 lines
195 B
Nix

map (e: (builtins.tryEval e).success) [
(builtins.groupBy (builtins.throw "a") [ "" ])
(builtins.groupBy (x: true) (builtins.throw "b"))
(builtins.groupBy (_: builtins.throw "x") [ "" ])
]