Pass Position into function calls.
This commit is contained in:
@@ -1611,7 +1611,17 @@ impl Engine {
|
||||
crate::fn_call::ensure_no_data_race(name, args, false)?;
|
||||
}
|
||||
|
||||
self.call_script_fn(scope, &mut mods, &mut state, lib, this_ptr, fn_def, args, 0)
|
||||
self.call_script_fn(
|
||||
scope,
|
||||
&mut mods,
|
||||
&mut state,
|
||||
lib,
|
||||
this_ptr,
|
||||
fn_def,
|
||||
args,
|
||||
Position::NONE,
|
||||
0,
|
||||
)
|
||||
}
|
||||
/// Optimize the [`AST`] with constants defined in an external Scope.
|
||||
/// An optimized copy of the [`AST`] is returned while the original [`AST`] is consumed.
|
||||
|
Reference in New Issue
Block a user