Capture params in nested defs

This commit is contained in:
Agus Zubiaga 2024-08-17 16:13:44 -03:00
parent c85c634387
commit 50887e6265
No known key found for this signature in database
9 changed files with 35 additions and 7 deletions

View file

@ -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);
}