Add a missing register_debug_idents call

This commit is contained in:
Richard Feldman 2020-03-12 00:40:16 -04:00
parent 494a8574bf
commit 723ef8e6d0

View file

@ -594,6 +594,8 @@ fn store_pattern<'a>(
fn gen_closure_name(procs: &Procs<'_>, ident_ids: &mut IdentIds, home: ModuleId) -> Symbol {
let ident_id = ident_ids.add(format!("_{}", procs.len()).into());
home.register_debug_idents(&ident_ids);
Symbol::new(home, ident_id)
}