feat(tvix/eval): always emit OpForce as the last instruction
Change-Id: Id70c987f654dc5d9b47db74e395281309762b468 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6353 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
9a783e50a4
commit
786e12a738
3 changed files with 14 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
42
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
# If a thunk yields another thunk, OpForce should keep forcing until
|
||||
# there is a value.
|
||||
let
|
||||
a = b;
|
||||
b = c;
|
||||
c = 42;
|
||||
in a
|
||||
Loading…
Add table
Add a link
Reference in a new issue