Implement private modifier for functions.
This commit is contained in:
@@ -999,7 +999,7 @@ impl Engine {
|
||||
let pos = Position::none();
|
||||
|
||||
let fn_def = fn_lib
|
||||
.get_function_by_signature(name, args.len())
|
||||
.get_function_by_signature(name, args.len(), true)
|
||||
.ok_or_else(|| Box::new(EvalAltResult::ErrorFunctionNotFound(name.to_string(), pos)))?;
|
||||
|
||||
let state = State::new(fn_lib);
|
||||
|
Reference in New Issue
Block a user