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
156 let $name = &args[$id];156 let $name = &args[$id];
157 if $name.0.is_some() {157 if $name.0.is_some() {
158 if $name.0.as_ref().unwrap() != stringify!($name) {158 if $name.0.as_ref().unwrap() != stringify!($name) {
159 throw!(IntristicArgumentReorderingIsNotSupportedYet);159 throw!(IntrinsicArgumentReorderingIsNotSupportedYet);
160 }160 }
161 }161 }
162 let $name = evaluate($ctx.clone(), &$name.1)?;162 let $name = evaluate($ctx.clone(), &$name.1)?;