mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Drop dead code
This commit is contained in:
parent
41519fc5a9
commit
5ec512a0e7
1 changed files with 0 additions and 17 deletions
|
@ -126,23 +126,6 @@ impl<'a> Procs<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
// pub fn into_map(self) -> (MutMap<Symbol, MutMap<Layout<'a>, Proc<'a>>>, MutSet<Symbol>) {
|
||||
// let mut specializations = self.specializations;
|
||||
|
||||
// for symbol in self.builtin.iter() {
|
||||
// // Builtins should only ever be stored as empty maps.
|
||||
// debug_assert!(
|
||||
// !specializations.contains_key(&symbol)
|
||||
// || specializations.get(&symbol).unwrap().is_empty()
|
||||
// );
|
||||
|
||||
// specializations.insert(*symbol, MutMap::default());
|
||||
// }
|
||||
|
||||
// (specializations, self.runtime_errors)
|
||||
// }
|
||||
// }
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct Specializations<'a> {
|
||||
by_symbol: MutMap<Symbol, MutMap<Layout<'a>, Proc<'a>>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue