mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
fix canonicalization
This commit is contained in:
parent
1e101599e0
commit
ed7906ccbb
2 changed files with 46 additions and 2 deletions
|
@ -405,6 +405,12 @@ fn fix_values_captured_in_closure_expr(
|
|||
fix_values_captured_in_closure_expr(&mut loc_expr.value, no_capture_symbols);
|
||||
}
|
||||
|
||||
Expect(condition, loc_expr) => {
|
||||
// LetNonRec(Box<Def>, Box<Located<Expr>>, Variable, Aliases),
|
||||
fix_values_captured_in_closure_expr(&mut condition.value, no_capture_symbols);
|
||||
fix_values_captured_in_closure_expr(&mut loc_expr.value, no_capture_symbols);
|
||||
}
|
||||
|
||||
Closure {
|
||||
captured_symbols,
|
||||
name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue