This commit is contained in:
Ayaz Hafiz 2022-07-13 12:26:21 -04:00
parent a5a80d2d17
commit eb2012dcad
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 3 additions and 3 deletions

View file

@ -156,8 +156,8 @@ pub fn exposed_types_storage_subs(
.filter_map(|(member, data)| {
if member.module_id() == home {
let var = data.signature_var();
let improted_var = storage_subs.import_variable_from(subs, var).variable;
Some((var, improted_var))
let imported_var = storage_subs.import_variable_from(subs, var).variable;
Some((var, imported_var))
} else {
None
}

View file

@ -2346,7 +2346,7 @@ fn get_specialization_lambda_set_ambient_function<P: Phase>(
// Immediates are like opaques in that we can simply look up their type definition in
// the ability store, there is nothing new to synthesize.
//
// THEORY: if something can become an immediate, it will always be avaialble in the
// THEORY: if something can become an immediate, it will always be available in the
// local ability store, because the transformation is local (?)
let immediate_lambda_set_at_region =
phase.get_and_copy_ability_member_ambient_function(imm, lset_region, subs);