Start saving ability signature on designated variable again

This commit is contained in:
Ayaz Hafiz 2022-04-14 16:22:54 -04:00
parent eb81c68bcb
commit 6b4294307f
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
4 changed files with 48 additions and 17 deletions

View file

@ -542,7 +542,13 @@ pub fn canonicalize_defs<'a>(
flex_vars: iv.collect_flex(),
};
can_members.push((member_sym, name_region, member_annot.typ, variables));
can_members.push((
member_sym,
name_region,
var_store.fresh(),
member_annot.typ,
variables,
));
}
// Store what symbols a type must define implementations for to have this ability.