about summary refs log tree commit diff
path: root/tvix/eval/src/chunk.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-28T14·47+0300
committertazjin <tazjin@tvl.su>2022-09-29T17·46+0000
commitccf9dd651b847aee96371b517a8375e7b4c040a6 (patch)
tree6bf6d6ac3d9585e8d6e4d7f4ae4142f86853474d /tvix/eval/src/chunk.rs
parent18fcf0d79d5e299e9d4014a59d20a0e17dc90836 (diff)
refactor(tvix/eval): clean up representation flip in bindings r/4999
When encountering a nested binding for the first time, cleanly flip
the representation to `Binding::Set` in `Binding::merge` before
proceeding with the actual merge.

This reduces the number of points where we have to deal with the (soon
to be slightly more complex) construction of the nested binding
representation.

Change-Id: Ifd43aac7b59ebd15a72c3ec512386a5bcf26ec13
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6802
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src/chunk.rs')
0 files changed, 0 insertions, 0 deletions