mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
move around hostexposedalias logic
This commit is contained in:
parent
5d3c7a9363
commit
7fb4b60b21
11 changed files with 120 additions and 123 deletions
|
@ -599,7 +599,7 @@ fn build_exposed_proc<'a, B: Backend<'a>>(backend: &mut B, proc: &Proc<'a>) -> P
|
|||
closure_data_layout: None,
|
||||
ret_layout: proc.ret_layout,
|
||||
is_self_recursive: roc_mono::ir::SelfRecursive::NotSelfRecursive,
|
||||
host_exposed_layouts: roc_mono::ir::HostExposedLayouts::NotHostExposed,
|
||||
is_host_exposed: false,
|
||||
is_erased: proc.is_erased,
|
||||
}
|
||||
}
|
||||
|
@ -681,7 +681,7 @@ fn build_exposed_generic_proc<'a, B: Backend<'a>>(backend: &mut B, proc: &Proc<'
|
|||
closure_data_layout: None,
|
||||
ret_layout: roc_mono::layout::Layout::UNIT,
|
||||
is_self_recursive: roc_mono::ir::SelfRecursive::NotSelfRecursive,
|
||||
host_exposed_layouts: roc_mono::ir::HostExposedLayouts::NotHostExposed,
|
||||
is_host_exposed: false,
|
||||
is_erased: proc.is_erased,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue