mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Format object_builder
This commit is contained in:
parent
11ca6dca94
commit
b9c003afc6
1 changed files with 5 additions and 1 deletions
|
@ -1021,7 +1021,11 @@ fn build_proc<'a, B: Backend<'a>>(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn add_undefined_rc_proc(output: &mut Object<'_>, name: &String, rc_proc_names: &Vec<'_, (symbol::Symbol, String)>) {
|
fn add_undefined_rc_proc(
|
||||||
|
output: &mut Object<'_>,
|
||||||
|
name: &String,
|
||||||
|
rc_proc_names: &Vec<'_, (symbol::Symbol, String)>,
|
||||||
|
) {
|
||||||
// If the symbol is an undefined reference counting procedure, we need to add it here.
|
// If the symbol is an undefined reference counting procedure, we need to add it here.
|
||||||
if output.symbol_id(name.as_bytes()).is_none() {
|
if output.symbol_id(name.as_bytes()).is_none() {
|
||||||
for (sym, rc_name) in rc_proc_names.iter() {
|
for (sym, rc_name) in rc_proc_names.iter() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue