Streamline data types.

This commit is contained in:
Stephen Chung
2023-04-10 18:47:53 +08:00
parent ac52d3cd87
commit 26ad454cb1
6 changed files with 44 additions and 48 deletions

View File

@@ -182,8 +182,6 @@ fn test_optimizer_reoptimize() -> Result<(), Box<EvalAltResult>> {
let scope: Scope = ast.iter_literal_variables(true, false).collect();
let ast = engine.optimize_ast(&scope, ast, OptimizationLevel::Simple);
println!("{ast:#?}");
assert_eq!(engine.eval_ast::<INT>(&ast)?, 84);
Ok(())