Clean up expression sizes, which seems to fix stack blowouts.

This commit is contained in:
2024-04-20 20:47:34 -04:00
parent 6800064bdf
commit 383d9185bf
8 changed files with 34 additions and 28 deletions

View File

@@ -331,8 +331,6 @@ proptest::proptest! {
#[test]
fn generated_run_or_overflow(program in Program::arbitrary_with(GenerationEnvironment::new(false))) {
use crate::eval::{EvalError, PrimOpError};
println!("-----------\nprogram:\n{}\n", program);
println!("-----------\nresult:\n{:?}\n", program.eval());
prop_assert!(matches!(program.eval(), Ok(_) | Err(EvalError::PrimOp(PrimOpError::MathFailure(_)))));
}
}