mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Make sure ability defs that are possibly recursive are marked as such
This commit is contained in:
parent
0525c6d616
commit
75ce40c67d
4 changed files with 18 additions and 2 deletions
|
@ -205,6 +205,7 @@ pub fn canonicalize_def_header_pattern<'a>(
|
|||
}
|
||||
// Likely a specialization of an ability.
|
||||
Some(ability_member_name) => {
|
||||
output.references.insert_bound(symbol);
|
||||
output.references.insert_value_lookup(ability_member_name);
|
||||
Pattern::AbilityMemberSpecialization {
|
||||
ident: symbol,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue