mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-23 20:12:27 +00:00
Improved IdentIds
This commit is contained in:
parent
ae04887cb1
commit
af6c3231f3
16 changed files with 142 additions and 143 deletions
|
@ -396,7 +396,7 @@ impl<'a> CodeGenHelp<'a> {
|
|||
}
|
||||
|
||||
fn create_symbol(&self, ident_ids: &mut IdentIds, debug_name: &str) -> Symbol {
|
||||
let ident_id = ident_ids.add(Ident::from(debug_name));
|
||||
let ident_id = ident_ids.add(&Ident::from(debug_name));
|
||||
Symbol::new(self.home, ident_id)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue