mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
Unify functions fx vars
This commit is contained in:
parent
5a5abe3bc5
commit
7776883262
26 changed files with 222 additions and 70 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue