mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Merge remote-tracking branch 'origin/trunk' into gen-dev/quicksort2
This commit is contained in:
commit
7a608524ec
262 changed files with 11188 additions and 2721 deletions
|
@ -641,7 +641,7 @@ impl<
|
|||
}
|
||||
let base_offset = self.claim_stack_area(sym, struct_size);
|
||||
|
||||
if let Layout::Struct(field_layouts) = layout {
|
||||
if let Layout::Struct { field_layouts, .. } = layout {
|
||||
let mut current_offset = base_offset;
|
||||
for (field, field_layout) in fields.iter().zip(field_layouts.iter()) {
|
||||
self.copy_symbol_to_stack_offset(buf, current_offset, field, field_layout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue