Typed body specializations solve

This commit is contained in:
Ayaz Hafiz 2022-04-13 10:42:46 -04:00
parent 389c46edcf
commit 25b3aa7ca7
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 36 additions and 1 deletions

View file

@ -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);
}