mirror of
https://github.com/Dummi26/mers.git
synced 2025-12-26 16:36:31 +01:00
added files and fixed a bug in run() and thread()
This commit is contained in:
@@ -310,7 +310,7 @@ pub mod to_runnable {
|
||||
if builtin.can_take(&rargs.iter().map(|v| v.out()).collect()) {
|
||||
RStatementEnum::BuiltinFunction(builtin, rargs)
|
||||
} else {
|
||||
todo!("ERR: Builtin function with wrong args - this isn't a proper error yet, sorry.");
|
||||
todo!("ERR: Builtin function \"{v}\" with wrong args - this isn't a proper error yet, sorry.");
|
||||
}
|
||||
} else {
|
||||
return Err(ToRunnableError::UseOfUndefinedFunction(v.clone()));
|
||||
|
||||
Reference in New Issue
Block a user