test(tvix/eval): add a test case for nested sibling access
Change-Id: I3898284bc4871e5483ead0c27e0f2832d66f2b29 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7061 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
5612ec0f41
commit
1050a1d650
2 changed files with 8 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
{ outer = 42; sibling = 42; }
|
|
@ -0,0 +1,7 @@
|
|||
rec {
|
||||
outer =
|
||||
let inner = sibling;
|
||||
in inner;
|
||||
|
||||
sibling = 42;
|
||||
}
|
Loading…
Reference in a new issue