This commit is contained in:
Richard Feldman 2020-06-06 23:41:12 -04:00
parent 9e02537ebb
commit 0a9989e75f
7 changed files with 61 additions and 30 deletions

View file

@ -67,6 +67,8 @@ impl<'a> Procs<'a> {
self.add_pending_specialization(name, layout.clone(), pending);
debug_assert!(!self.partial_procs.contains_key(&name), "Procs was told to insert a value for key {:?}, but there was already an entry for that key! Procs should never attempt to insert duplicates.", name);
// a named closure
self.partial_procs.insert(
name,