fix(tvix/eval): Fail on duplicate attribute set keys
Change-Id: I57373ca76d0e25a5d08a8dfce9d5949099326fc0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6104 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
175eb97505
commit
e15bd9aa63
2 changed files with 9 additions and 1 deletions
|
|
@ -2,6 +2,10 @@ use std::fmt::Display;
|
|||
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
DuplicateAttrsKey {
|
||||
key: String,
|
||||
},
|
||||
|
||||
TypeError {
|
||||
expected: &'static str,
|
||||
actual: &'static str,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue