about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-catchable-in-update-attrs.nix
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-12-12T06·48-0800
committerclbot <clbot@tvl.fyi>2023-12-12T15·48+0000
commit289663cac4c1acd75ea850f1622ec8fee9eeff44 (patch)
tree86628fabe6a551e2c3532535a27407fee78b3b28 /tvix/eval/src/tests/tvix_tests/eval-okay-catchable-in-update-attrs.nix
parente54533518bf1143334a3910b393815b6edad8c66 (diff)
fix(tvix/eval): handle catchables in attribute set updates r/7182
Fixes b/346.

Change-Id: I277121d2363e605ebe09651ed9440fe1bc126c8c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10292
Tested-by: BuildkiteCI
Autosubmit: Adam Joseph <adam@westernsemico.com>
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-catchable-in-update-attrs.nix')
-rw-r--r--tvix/eval/src/tests/tvix_tests/eval-okay-catchable-in-update-attrs.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-catchable-in-update-attrs.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-catchable-in-update-attrs.nix
new file mode 100644
index 000000000000..38a91690345b
--- /dev/null
+++ b/tvix/eval/src/tests/tvix_tests/eval-okay-catchable-in-update-attrs.nix
@@ -0,0 +1 @@
+(builtins.tryEval (throw "bob" // { })).success