feat(tvix/eval): construct attribute sets lazily

This thunks the construction of attribute sets. Because Tvix does not
currently have a "strict output" mode, a test had to be disabled that
now displays a thunk representation.

The test will be re-enabled once that is available.

Change-Id: I360332be64cd5c154f9caea21828f6f1b37a265c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6363
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
Vincent Ambo 2022-08-30 19:55:04 +03:00 committed by tazjin
parent 727845645d
commit 23a5caabec
3 changed files with 13 additions and 3 deletions

View file

@ -0,0 +1,3 @@
# TODO: temporarily disabled because need "strict output" (b is
# thunked)
{ a = { b = null; }; }

View file

@ -1 +0,0 @@
{ a = { b = null; }; }