mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Remove temporary
This commit is contained in:
parent
ed23461165
commit
80c939f21e
2 changed files with 1 additions and 14 deletions
|
@ -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)]
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue