Remove log print.

This commit is contained in:
Stephen Chung 2022-09-03 12:26:55 +08:00
parent 79eb626386
commit 75512bfd2f
2 changed files with 5 additions and 2 deletions

View File

@ -30,6 +30,10 @@ New features
* `if`-expressions are allowed in `Engine::eval_expression` and `Engine::compile_expression` provided that both statement blocks each contain at most a single expression. * `if`-expressions are allowed in `Engine::eval_expression` and `Engine::compile_expression` provided that both statement blocks each contain at most a single expression.
* `switch`-expressions are allowed in `Engine::eval_expression` and `Engine::compile_expression` provided that match actions are expressions only. * `switch`-expressions are allowed in `Engine::eval_expression` and `Engine::compile_expression` provided that match actions are expressions only.
### `fast_ops` feature
* A new feature `fast_ops` is introduced that short-circuits all built-in operators of built-in types for higher speed. New user overloads are ignored.
Enhancements Enhancements
------------ ------------

View File

@ -278,13 +278,12 @@ impl Engine {
c.get(&hash).unwrap().as_ref().unwrap() c.get(&hash).unwrap().as_ref().unwrap()
} }
None => { None => {
println!("Exec {name} with {:?}", arg_values);
return self return self
.exec_fn_call( .exec_fn_call(
None, global, caches, lib, name, *hashes, arg_values, false, false, None, global, caches, lib, name, *hashes, arg_values, false, false,
pos, level, pos, level,
) )
.map(|(v, ..)| v); .map(|(v, ..)| v)
} }
} }
}; };