about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-catchable-passed-to-function-with-formals.nix
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-12-12T07·14-0800
committerclbot <clbot@tvl.fyi>2023-12-12T15·55+0000
commit52b68c053987c1567bacb6f14dad8ba92cd01afe (patch)
tree820236145cd5d9ff0e158d37a7db3a2baada78a2 /tvix/eval/src/tests/tvix_tests/eval-okay-catchable-passed-to-function-with-formals.nix
parente516046ed28d6b85fc683cfe39d2b4035e68d975 (diff)
fix(tvix/eval): fix catchables in named formals r/7186
Fixes b/348.

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