tvl-depot/tvix/eval/src/compiler
Vincent Ambo ccf9dd651b refactor(tvix/eval): clean up representation flip in bindings
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>
2022-09-29 17:46:02 +00:00
..
bindings.rs refactor(tvix/eval): clean up representation flip in bindings 2022-09-29 17:46:02 +00:00
mod.rs refactor(tvix/eval): emit OpAttrs inside of compile_bindings 2022-09-29 11:47:47 +00:00
scope.rs fix(tvix/eval): support string identifiers in inherits 2022-09-22 23:07:14 +00:00
spans.rs refactor(tvix/eval): clone the Arc<codemap::File> for the compiler 2022-09-18 21:12:50 +00:00