tvl-depot/tvix/eval/src/tests
Griffin Smith 2592113435 fix(tvix/eval): Thunk if expr
Since the body of an `if` expr can refer to deferred upvalues, it needs
to be thunked so when we actually compile those deferred upvalues we
have something for the finalize op to point at. Without this all sorts
of weird things can happen due to the finalize op being run in the wrong
lambda context, up to and including a panic.

Change-Id: I040d5e1a7232fd841cfa4953539898fa49cbbb83
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6929
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-10-10 20:35:11 +00:00
..
nix_tests fix(tvix/eval): correctly escape ${ in strings 2022-09-03 00:47:58 +00:00
tvix_tests fix(tvix/eval): Thunk if expr 2022-10-10 20:35:11 +00:00
mod.rs feat(tvix/tests): Import default.nix inside directory 2022-10-08 19:02:25 +00:00