forked from AbleScript/ablescript
Implemented builtin functio division
This commit is contained in:
parent
3338ec94c2
commit
a9a9cc71e1
|
@ -784,7 +784,10 @@ impl ops::Div for Value {
|
|||
.collect(),
|
||||
}
|
||||
}
|
||||
Functio::Builtin(_) => todo!(),
|
||||
Functio::Builtin(b) => Functio::Builtin(BuiltinFunctio {
|
||||
arity: b.arity + rhs.into_i32() as usize,
|
||||
..b
|
||||
}),
|
||||
Functio::Chain { functios, kind } => {
|
||||
let functios = *functios;
|
||||
Functio::Chain {
|
||||
|
|
Loading…
Reference in a new issue