mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
refactor ClosureLayout
This commit is contained in:
parent
22dcdab222
commit
4db09b10aa
4 changed files with 36 additions and 37 deletions
|
@ -1661,7 +1661,7 @@ fn build_specialized_proc<'a>(
|
|||
let closure_layout =
|
||||
Layout::Struct(arena.alloc([function_ptr_layout, closure_data_layout]));
|
||||
|
||||
return Ok((&[], None, closure_layout));
|
||||
Ok((&[], None, closure_layout))
|
||||
}
|
||||
None => {
|
||||
// else we're making a normal function, no closure problems to worry about
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue