mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Typed body specializations solve
This commit is contained in:
parent
389c46edcf
commit
25b3aa7ca7
3 changed files with 36 additions and 1 deletions
|
@ -709,6 +709,19 @@ fn solve(
|
|||
|
||||
let mut new_env = env.clone();
|
||||
for (symbol, loc_var) in local_def_vars.iter() {
|
||||
check_ability_specialization(
|
||||
arena,
|
||||
subs,
|
||||
&new_env,
|
||||
pools,
|
||||
rank,
|
||||
abilities_store,
|
||||
problems,
|
||||
deferred_must_implement_abilities,
|
||||
*symbol,
|
||||
*loc_var,
|
||||
);
|
||||
|
||||
new_env.insert_symbol_var_if_vacant(*symbol, loc_var.value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue