mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Debug assert needed specializations are empty after leaving mono
This commit is contained in:
parent
19e8b37402
commit
a1eb65b169
1 changed files with 6 additions and 0 deletions
|
@ -2156,6 +2156,12 @@ pub fn specialize_all<'a>(
|
|||
|
||||
specialize_host_specializations(env, &mut procs, layout_cache, specializations_for_host);
|
||||
|
||||
debug_assert!(
|
||||
procs.needed_symbol_specializations.is_empty(),
|
||||
"{:?}",
|
||||
&procs.needed_symbol_specializations
|
||||
);
|
||||
|
||||
procs
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue