chore: new branch with some things from the bumpalo branch
This commit is contained in:
@@ -279,11 +279,11 @@ impl Diagnostic for Error {
|
||||
None => None,
|
||||
Some(hint) => {
|
||||
let budget = ExBudget { mem: i64::MAX, cpu: i64::MAX, };
|
||||
let left = pretty::boxed("left", &match hint.left.eval(budget).result() {
|
||||
let left = pretty::boxed("left", &match hint.left.clone().eval(budget).result() {
|
||||
Ok(term) => format!("{term}"),
|
||||
Err(err) => format!("{err}"),
|
||||
});
|
||||
let right = pretty::boxed("right", &match hint.right.eval(budget).result() {
|
||||
let right = pretty::boxed("right", &match hint.right.clone().eval(budget).result() {
|
||||
Ok(term) => format!("{term}"),
|
||||
Err(err) => format!("{err}"),
|
||||
});
|
||||
|
||||
@@ -732,7 +732,7 @@ where
|
||||
scripts
|
||||
.into_par_iter()
|
||||
.map(|script| {
|
||||
let mut eval_result = script.program.eval(initial_budget);
|
||||
let mut eval_result = script.program.clone().eval(initial_budget);
|
||||
|
||||
EvalInfo {
|
||||
success: !eval_result.failed(),
|
||||
|
||||
Reference in New Issue
Block a user