test(tvix/eval): test branching on catchable defaults (b/343)

This is a test case for b/343, wherein tvix dies if you try to
branch on an argument whose defaulted value is a catchable.

Change-Id: I891ca825e39ad14dda9f220f06d9591874fcd45d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10287
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: Adam Joseph <adam@westernsemico.com>
Tested-by: BuildkiteCI
This commit is contained in:
Adam Joseph 2023-12-11 20:36:03 -08:00 committed by clbot
parent 1ac57b0d1c
commit e54eeda0ff
2 changed files with 2 additions and 0 deletions

View file

@ -0,0 +1 @@
(builtins.tryEval (({ foo ? throw "up" }: if foo then 1 else 2) { })).success