feat(tvix/eval): add error kind for unmergeable nested attributes
Change-Id: Ic5e6d1bf2625c33938360affb0d1a7c922af11bf Reviewed-on: https://cl.tvl.fyi/c/depot/+/6799 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
3f34af205f
commit
0cee44838c
2 changed files with 14 additions and 1 deletions
|
|
@ -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),
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue