mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
Start saving ability signature on designated variable again
This commit is contained in:
parent
eb81c68bcb
commit
6b4294307f
4 changed files with 48 additions and 17 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue