mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Capture params in nested defs
This commit is contained in:
parent
c85c634387
commit
50887e6265
9 changed files with 35 additions and 7 deletions
|
@ -161,17 +161,15 @@ impl<'a> LowerParams<'a> {
|
|||
}
|
||||
}
|
||||
Closure(ClosureData {
|
||||
loc_body,
|
||||
captured_symbols: _,
|
||||
name: _,
|
||||
function_type: _,
|
||||
closure_type: _,
|
||||
return_type: _,
|
||||
name: _,
|
||||
captured_symbols: _,
|
||||
recursive: _,
|
||||
arguments: _,
|
||||
loc_body,
|
||||
}) => {
|
||||
// todo: capture params?
|
||||
|
||||
expr_stack.push(&mut loc_body.value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue