mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Remove excessive calls to LayoutIds::default()
This commit is contained in:
parent
49ac08546c
commit
63f65947bc
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ pub fn build_module_help<'a>(
|
|||
let mut symbol_table_entries = Vec::with_capacity_in(procedures.len(), env.arena);
|
||||
|
||||
for (i, ((sym, layout), proc)) in procedures.into_iter().enumerate() {
|
||||
let proc_name = LayoutIds::default()
|
||||
let proc_name = layout_ids
|
||||
.get(proc.name, &proc.ret_layout)
|
||||
.to_symbol_string(proc.name, &env.interns);
|
||||
symbol_table_entries.push(SymInfo::for_function(i as u32, proc_name));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue