mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
fix alignment bug in list literals
This commit is contained in:
parent
44777c5cac
commit
3c8dbce72e
3 changed files with 24 additions and 7 deletions
|
@ -3104,7 +3104,7 @@ impl<
|
|||
|
||||
// Load allocation alignment (u32)
|
||||
let element_alignment_symbol = Symbol::DEV_TMP2;
|
||||
self.load_layout_alignment(Layout::U32, element_alignment_symbol);
|
||||
self.load_layout_alignment(*element_in_layout, element_alignment_symbol);
|
||||
|
||||
let allocation_symbol = self.debug_symbol("list_allocation");
|
||||
self.allocate_with_refcount(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue