diff options
Diffstat (limited to 'tvix/eval/src/compiler.rs')
-rw-r--r-- | tvix/eval/src/compiler.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tvix/eval/src/compiler.rs b/tvix/eval/src/compiler.rs index 668ec842e81b..4aadfaba80e7 100644 --- a/tvix/eval/src/compiler.rs +++ b/tvix/eval/src/compiler.rs @@ -136,6 +136,7 @@ impl Compiler { BinOpKind::Mul => OpCode::OpMul, BinOpKind::Div => OpCode::OpDiv, BinOpKind::Equal => OpCode::OpEqual, + BinOpKind::Update => OpCode::OpAttrsUpdate, _ => todo!(), }; @@ -187,6 +188,10 @@ impl Compiler { // 2. Keys can refer to nested attribute sets. // 3. Attribute sets can (optionally) be recursive. fn compile_attr_set(&mut self, node: rnix::types::AttrSet) -> EvalResult<()> { + if node.recursive() { + todo!("recursive attribute sets are not yet implemented") + } + let mut count = 0; for kv in node.entries() { |