freshen annotations

This commit is contained in:
Folkert 2023-07-22 18:27:51 +02:00
parent d3ccdb51ea
commit 43adf0635e
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
10 changed files with 277 additions and 58 deletions

View file

@ -466,6 +466,10 @@ fn start_phase<'a>(
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)
@ -503,6 +507,10 @@ fn start_phase<'a>(
.remove(&module_id)
.unwrap();
if !procs_base.host_specializations.is_empty() {
dbg!(&procs_base.host_specializations);
}
(
ident_ids,
subs,
@ -5688,7 +5696,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,
);
}
@ -5768,7 +5776,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,
);
}