Remove temporary

This commit is contained in:
Ayaz Hafiz 2022-08-15 10:42:38 -05:00
parent ed23461165
commit 80c939f21e
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 1 additions and 14 deletions

View file

@ -46,7 +46,7 @@ impl WorldAbilities {
.unwrap()
.insert(module, (store, exposed_types));
//debug_assert!(old_store.is_none(), "{:?} abilities not new", module);
debug_assert!(old_store.is_none(), "{:?} abilities not new", module);
}
#[inline(always)]

View file

@ -441,19 +441,6 @@ fn start_phase<'a>(
}
}
let our_exposed_types = state
.exposed_types
.get(&module_id)
.unwrap_or_else(|| internal_error!("Exposed types for {:?} missing", module_id))
.clone();
// Add our abilities to the world.
state.world_abilities.insert(
module_id,
abilities_store.clone(),
our_exposed_types.exposed_types_storage_subs,
);
let derived_module = SharedDerivedModule::clone(&state.derived_module);
BuildTask::BuildPendingSpecializations {