about summary refs log tree commit diff
path: root/tvix/eval/src/compiler/bindings.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/compiler/bindings.rs')
-rw-r--r--tvix/eval/src/compiler/bindings.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tvix/eval/src/compiler/bindings.rs b/tvix/eval/src/compiler/bindings.rs
index 5fa08210fd46..53344d067771 100644
--- a/tvix/eval/src/compiler/bindings.rs
+++ b/tvix/eval/src/compiler/bindings.rs
@@ -48,7 +48,10 @@ impl Binding {
                 Some(ErrorKind::UnmergeableInherit { name: name.clone() })
             }
 
-            Binding::Plain { .. } => todo!(),
+            Binding::Plain { expr } => match expr {
+                ast::Expr::AttrSet(_) => todo!(),
+                _ => Some(ErrorKind::UnmergeableValue),
+            },
         }
     }
 }