Make fast operators the default.
This commit is contained in:
@@ -989,7 +989,7 @@ impl Engine {
|
||||
args_expr: &[Expr],
|
||||
hashes: FnCallHashes,
|
||||
capture_scope: bool,
|
||||
is_standard_operator: bool,
|
||||
is_operator: bool,
|
||||
pos: Position,
|
||||
level: usize,
|
||||
) -> RhaiResult {
|
||||
@@ -1002,7 +1002,7 @@ impl Engine {
|
||||
let redirected; // Handle call() - Redirect function call
|
||||
|
||||
match name {
|
||||
_ if is_standard_operator => (),
|
||||
_ if is_operator => (),
|
||||
|
||||
// Handle call()
|
||||
KEYWORD_FN_PTR_CALL if total_args >= 1 => {
|
||||
|
Reference in New Issue
Block a user