diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-24T12·54+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-29T11·47+0000 |
commit | 3f2160627895e7d1fe3236812b83bddc5d3049f5 (patch) | |
tree | a3bb11b512bb72176467db8a5444ad2f7baa0860 /tvix/eval/src/tests/tvix_tests/eval-okay-nested-has-attrs.nix | |
parent | 949897651e826598f2011611e0cc03619426fcc2 (diff) |
refactor(tvix/eval): merge all bindings creation logic r/4989
As of this commit, all three types of bindings scopes are compiled the same way (i.e. compilation of non-recursive attribute sets has been switched over to the new code paths). This sets us up for doing the final implementation of nested attribute sets. HOWEVER, this breaks the existing implementation of nested attributes in non-recursive attribute sets. That implementation is flawed and unworkable in practice, so we need to do this dance to be able to implement it correctly. Change-Id: Iba2545c0d1d6b51f5e1a31a5d005b8d01da546d3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6782 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-nested-has-attrs.nix')
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-nested-has-attrs.nix | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-nested-has-attrs.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-nested-has-attrs.nix deleted file mode 100644 index 47dcec7a95f4..000000000000 --- a/tvix/eval/src/tests/tvix_tests/eval-okay-nested-has-attrs.nix +++ /dev/null @@ -1,26 +0,0 @@ -let - set = { - a.b.c = 123; - foo = { - bar = 23; - }; - baz = 1; - }; - - tes = "random value"; -in - -[ - (set ? a) - (set ? a.b) - (set ? a.b.c) - (set ? foo) - (set ? foo.bar) - (set.foo ? bar) - (set ? baz) - (set ? x) - (set ? x.y.z) - (tes ? bar) - (tes ? x.y.z) - (null ? null) -] |