mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
make it work
This commit is contained in:
parent
43adf0635e
commit
557c3987e0
6 changed files with 126 additions and 128 deletions
|
@ -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,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue