--- a/crates/jrsonnet-evaluator/src/error.rs +++ b/crates/jrsonnet-evaluator/src/error.rs @@ -7,8 +7,8 @@ #[derive(Debug, Clone)] pub enum Error { - IntristicNotFound(Rc, Rc), - IntristicArgumentReorderingIsNotSupportedYet, + IntrinsicNotFound(Rc, Rc), + IntrinsicArgumentReorderingIsNotSupportedYet, UnaryOperatorDoesNotOperateOnType(UnaryOpType, ValType), BinaryOperatorDoesNotOperateOnValues(BinaryOpType, ValType, ValType), --- a/crates/jrsonnet-evaluator/src/function.rs +++ b/crates/jrsonnet-evaluator/src/function.rs @@ -156,7 +156,7 @@ let $name = &args[$id]; if $name.0.is_some() { if $name.0.as_ref().unwrap() != stringify!($name) { - throw!(IntristicArgumentReorderingIsNotSupportedYet); + throw!(IntrinsicArgumentReorderingIsNotSupportedYet); } } let $name = evaluate($ctx.clone(), &$name.1)?;