about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-match-propagate-catchables.nix
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-12-13T04·49-0800
committertazjin <tazjin@tvl.su>2023-12-29T21·34+0000
commit2af8174e2e36d4c96f612e92b3e00c3330fb56fa (patch)
tree7a5f708e1ef2fcbe8fc78ea09721aac44c978cb4 /tvix/eval/src/tests/tvix_tests/eval-okay-builtins-match-propagate-catchables.nix
parent11e35a77a671b3d85ea161e1799ef3f6d98201f1 (diff)
fix(tvix/eval): builtins.match: propagate catchables r/7273
Change-Id: I14c9e625c91369e10d0c00380dca992811ae9059
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10346
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: Adam Joseph <adam@westernsemico.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-builtins-match-propagate-catchables.nix')
-rw-r--r--tvix/eval/src/tests/tvix_tests/eval-okay-builtins-match-propagate-catchables.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-match-propagate-catchables.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-match-propagate-catchables.nix
new file mode 100644
index 000000000000..8d00994b60f5
--- /dev/null
+++ b/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-match-propagate-catchables.nix
@@ -0,0 +1 @@
+(builtins.tryEval (builtins.match (throw "foo") ".*")).success