difftreelog
feat(evaluator) push frame for if condition
in: master
1 file changed
crates/jrsonnet-evaluator/src/evaluate.rsdiffbeforeafterboth589 cond_then,589 cond_then,590 cond_else,590 cond_else,591 } => {591 } => {592 if evaluate(context.clone(), &cond.0)?592 if push(593 loc,594 || "if condition".to_owned(),593 .try_cast_bool("if condition should be of type `boolean`")?595 || evaluate(context.clone(), &cond.0)?.try_cast_bool("in if condition"),594 {596 )? {595 evaluate(context, cond_then)?597 evaluate(context, cond_then)?596 } else {598 } else {597 match cond_else {599 match cond_else {