about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-merge-nested-rec-attrs.exp
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-28T13·26+0300
committertazjin <tazjin@tvl.su>2022-09-29T17·46+0000
commitcece9eae4a12c96e8b07c4f9b8864bde083bb24d (patch)
tree2f9656a3256f7925c7c828cf632b69a204da4926 /tvix/eval/src/tests/tvix_tests/eval-okay-merge-nested-rec-attrs.exp
parent0cee44838ccae33e2a70e88b805268b2531c552c (diff)
feat(tvix/eval): merge attribute sets in bindings r/4997
This is a significant step towards correctly implemented nested
bindings. All attribute sets defined within the same binding scope
will now be merged as in Nix, if they use the same key.

Change-Id: I13e056693d5e73192280043c6dd93b47d1306ed6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6800
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-merge-nested-rec-attrs.exp')
-rw-r--r--tvix/eval/src/tests/tvix_tests/eval-okay-merge-nested-rec-attrs.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-merge-nested-rec-attrs.exp b/tvix/eval/src/tests/tvix_tests/eval-okay-merge-nested-rec-attrs.exp
new file mode 100644
index 000000000000..768eaae61cfc
--- /dev/null
+++ b/tvix/eval/src/tests/tvix_tests/eval-okay-merge-nested-rec-attrs.exp
@@ -0,0 +1 @@
+{ set = { a = 21; b = 42; }; }