disable printing of type clone count

This commit is contained in:
Folkert 2022-03-16 18:38:55 +01:00
parent d3c6f00c77
commit 64287ea783
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -2039,6 +2039,12 @@ fn finish_specialization(
subs: Subs,
exposed_to_host: ExposedToHost,
) -> Result<MonomorphizedModule, LoadingProblem> {
if false {
println!(
"total Type clones: {} ",
roc_types::types::get_type_clone_count()
);
}
let module_ids = Arc::try_unwrap(state.arc_modules)
.unwrap_or_else(|_| panic!("There were still outstanding Arc references to module_ids"))
.into_inner()