diff options
author | sterni <sternenseemann@systemli.org> | 2022-09-06T14·34+0200 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-11T12·26+0000 |
commit | bb1adbb05b1a9e6071869cf34a871a0ac49734b0 (patch) | |
tree | 3c0de638cde445ac7d899f9d9dbca62a14a45e59 /tvix/eval/src/tests/tvix_tests/eval-okay-mutually-recursive-let-binding.exp | |
parent | 240d90aa8a1ee9d9ac827fe19ea42d086be787d7 (diff) |
test(tvix/eval): add test for mutually recursive let bindings r/4808
This test shows that let bindings' dependencies can form a cyclical graph, so we need to use thunking to break this cycle. Change-Id: I2a4de71fd7024f3d3d1166154784139a82f39411 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6495 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-mutually-recursive-let-binding.exp')
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-mutually-recursive-let-binding.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-mutually-recursive-let-binding.exp b/tvix/eval/src/tests/tvix_tests/eval-okay-mutually-recursive-let-binding.exp new file mode 100644 index 000000000000..edca9baca9c0 --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-mutually-recursive-let-binding.exp @@ -0,0 +1 @@ +{ a = 1; b = 2; c = 3; } |