diff options
author | Adam Joseph <adam@westernsemico.com> | 2023-12-12T12·17-0800 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-12-12T17·04+0000 |
commit | bcc1ea85521ea99e03efb97bf397cd63ebc3398e (patch) | |
tree | 7c14fa5827a6562cbe383a16cafc3f2c602bbc0e /tvix/eval/src/tests/tvix_tests | |
parent | 7b9eea71d021315a1d29c2bcca84de72cc507e04 (diff) |
fix(tvix/eval): make `||` propagate catchables r/7191
Change-Id: I42f994d7c9228368d5f6c30c4730c24666f7bc69 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10320 Autosubmit: Adam Joseph <adam@westernsemico.com> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests')
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-logical-or-catchable.exp | 1 | ||||
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-logical-or-catchable.nix | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-logical-or-catchable.exp b/tvix/eval/src/tests/tvix_tests/eval-okay-logical-or-catchable.exp new file mode 100644 index 000000000000..c508d5366f70 --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-logical-or-catchable.exp @@ -0,0 +1 @@ +false diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-logical-or-catchable.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-logical-or-catchable.nix new file mode 100644 index 000000000000..64168499c6bb --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-logical-or-catchable.nix @@ -0,0 +1 @@ +(builtins.tryEval ( (throw "fred") || (throw "jill") )).success |