mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
format code & replace vec!(in arena;...) with arena.alloc([...])
This commit is contained in:
parent
9c21ac1388
commit
6975294278
4 changed files with 22 additions and 14 deletions
|
@ -856,7 +856,13 @@ trait Backend<'a> {
|
|||
..
|
||||
} => {
|
||||
debug_assert!(indices.len() >= 2);
|
||||
self.load_union_field_ptr_at_index(sym, structure, indices[0] as u16, indices[1], union_layout);
|
||||
self.load_union_field_ptr_at_index(
|
||||
sym,
|
||||
structure,
|
||||
indices[0] as u16,
|
||||
indices[1],
|
||||
union_layout,
|
||||
);
|
||||
}
|
||||
Expr::GetTagId {
|
||||
structure,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue