git.delta.rocks / jrsonnet / refs/commits / e9a903663d5c

difftreelog

fix Typo `Intristic` -> `Intrinsic`

progrm_jarvis2020-08-03parent: #a89c869.patch.diff
in: master

2 files changed

modifiedcrates/jrsonnet-evaluator/src/error.rsdiffbeforeafterboth
77
8#[derive(Debug, Clone)]8#[derive(Debug, Clone)]
9pub enum Error {9pub enum Error {
10 IntristicNotFound(Rc<str>, Rc<str>),10 IntrinsicNotFound(Rc<str>, Rc<str>),
11 IntristicArgumentReorderingIsNotSupportedYet,11 IntrinsicArgumentReorderingIsNotSupportedYet,
1212
13 UnaryOperatorDoesNotOperateOnType(UnaryOpType, ValType),13 UnaryOperatorDoesNotOperateOnType(UnaryOpType, ValType),
14 BinaryOperatorDoesNotOperateOnValues(BinaryOpType, ValType, ValType),14 BinaryOperatorDoesNotOperateOnValues(BinaryOpType, ValType, ValType),
modifiedcrates/jrsonnet-evaluator/src/function.rsdiffbeforeafterboth
--- 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)?;