mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
freshen annotations
This commit is contained in:
parent
d3ccdb51ea
commit
43adf0635e
10 changed files with 277 additions and 58 deletions
|
@ -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,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue