Make parameters order uniform.

This commit is contained in:
Stephen Chung
2022-11-04 21:47:09 +08:00
parent 0756994038
commit 35b02ce9b7
14 changed files with 284 additions and 265 deletions

View File

@@ -393,13 +393,13 @@ impl<'a> NativeCallContext<'a> {
global,
caches,
self.lib,
self.level + 1,
fn_name,
op_token,
calc_fn_hash(None, fn_name, args_len),
args,
is_ref_mut,
Position::NONE,
self.level + 1,
)
.map(|(r, ..)| r);
}
@@ -418,10 +418,11 @@ impl<'a> NativeCallContext<'a> {
self.engine()
.exec_fn_call(
None,
global,
caches,
self.lib,
self.level + 1,
None,
fn_name,
op_token,
hash,
@@ -429,7 +430,6 @@ impl<'a> NativeCallContext<'a> {
is_ref_mut,
is_method_call,
Position::NONE,
self.level + 1,
)
.map(|(r, ..)| r)
}