Unify functions fx vars

This commit is contained in:
Agus Zubiaga 2024-10-08 20:59:10 -03:00
parent 5a5abe3bc5
commit 7776883262
No known key found for this signature in database
26 changed files with 222 additions and 70 deletions

View file

@ -718,11 +718,12 @@ trait DerivableVisitor {
push_var_slice!(vars)
}
}
Func(args, _clos, ret) => {
Func(args, _clos, ret, fx) => {
let descend = Self::visit_func(var)?;
if descend.0 {
push_var_slice!(args);
stack.push(ret);
stack.push(fx);
}
}
Record(fields, ext) => {