Changed Built-in functio -> integer coercion
This commit is contained in:
parent
a9a9cc71e1
commit
5b320259f6
|
@ -184,7 +184,7 @@ impl Value {
|
|||
.sum::<i32>()
|
||||
+ body.len() as i32
|
||||
}
|
||||
Functio::Builtin(b) => b.fn_addr() as _,
|
||||
Functio::Builtin(b) => (b.fn_addr() + b.arity) as _,
|
||||
Functio::Chain { functios, kind } => {
|
||||
let (lf, rf) = *functios;
|
||||
Value::Functio(lf).into_i32()
|
||||
|
|
Loading…
Reference in a new issue