mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Introduce the concept of SemanticRepr
This commit is contained in:
parent
c3eeb5e2cc
commit
f100e8753c
17 changed files with 218 additions and 223 deletions
|
@ -456,9 +456,9 @@ fn build_exposed_generic_proc<'a, B: Backend<'a>>(backend: &mut B, proc: &Proc<'
|
|||
let s2 = backend.debug_symbol_in(platform, "s2");
|
||||
let s3 = backend.debug_symbol_in(platform, "s3");
|
||||
|
||||
let box_layout = backend.interner_mut().insert(Layout {
|
||||
repr: roc_mono::layout::LayoutRepr::Boxed(proc.ret_layout),
|
||||
});
|
||||
let box_layout = backend
|
||||
.interner_mut()
|
||||
.insert_no_semantic(roc_mono::layout::LayoutRepr::Boxed(proc.ret_layout));
|
||||
|
||||
let mut args = bumpalo::collections::Vec::new_in(arena);
|
||||
args.extend(proc.args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue