test(tvix/eval): add basic tests for with expressions

Change-Id: I94664090e7a2b060dfbe21c1eeb859fb31e417b0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6225
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
Vincent Ambo 2022-08-15 02:15:39 +03:00 committed by tazjin
parent 0257f89917
commit 75ba7c0120
4 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1 @@
2

View file

@ -0,0 +1,4 @@
let
set1 = { a = 1; };
set2 = { a = 2; };
in with set1; with set2; a

View file

@ -0,0 +1 @@
1

View file

@ -0,0 +1,5 @@
let
set = {
a = 1;
};
in with set; a