make it work

This commit is contained in:
Folkert 2023-07-23 20:48:44 +02:00
parent 43adf0635e
commit 557c3987e0
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
6 changed files with 126 additions and 128 deletions

View file

@ -465,11 +465,6 @@ fn start_phase<'a>(
abilities_store,
expectations,
} = found_specializations;
if !procs_base.host_specializations.is_empty() {
dbg!(&procs_base.host_specializations);
}
let our_exposed_types = state
.exposed_types
.get(&module_id)
@ -507,10 +502,6 @@ fn start_phase<'a>(
.remove(&module_id)
.unwrap();
if !procs_base.host_specializations.is_empty() {
dbg!(&procs_base.host_specializations);
}
(
ident_ids,
subs,
@ -5851,7 +5842,7 @@ fn build_pending_specializations<'a>(
procs_base.host_specializations.insert_host_exposed(
mono_env.subs,
LambdaName::no_niche(symbol),
annotation,
declarations.host_exposed_annotations.get(&index).cloned(),
expr_var,
);
}
@ -5917,7 +5908,7 @@ fn build_pending_specializations<'a>(
procs_base.host_specializations.insert_host_exposed(
mono_env.subs,
LambdaName::no_niche(symbol),
annotation,
None,
expr_var,
);
}
@ -5989,7 +5980,7 @@ fn build_pending_specializations<'a>(
procs_base.host_specializations.insert_host_exposed(
mono_env.subs,
LambdaName::no_niche(symbol),
annotation,
None,
expr_var,
);
}