mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
WIP
This commit is contained in:
parent
b412765972
commit
ee99ae2372
5 changed files with 176 additions and 126 deletions
|
@ -3403,16 +3403,18 @@ fn finish_specialization<'a>(
|
|||
layout,
|
||||
);
|
||||
|
||||
glue_getters.extend(all_glue_procs.iter().flat_map(|(_, glue_procs)| {
|
||||
glue_getters.extend(all_glue_procs.getters.iter().flat_map(|(_, glue_procs)| {
|
||||
glue_procs
|
||||
.iter()
|
||||
.map(|glue_proc| (glue_proc.name, glue_proc.proc_layout))
|
||||
}));
|
||||
procedures.extend(all_glue_procs.into_iter().flat_map(|(_, glue_procs)| {
|
||||
glue_procs.into_iter().map(|glue_proc| {
|
||||
(((glue_proc.name), glue_proc.proc_layout), glue_proc.proc)
|
||||
})
|
||||
}));
|
||||
procedures.extend(all_glue_procs.getters.into_iter().flat_map(
|
||||
|(_, glue_procs)| {
|
||||
glue_procs.into_iter().map(|glue_proc| {
|
||||
(((glue_proc.name), glue_proc.proc_layout), glue_proc.proc)
|
||||
})
|
||||
},
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue