mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-24 12:32:29 +00:00
Store derivable ability members statically
This commit is contained in:
parent
10001876bb
commit
6035e45f25
4 changed files with 13 additions and 9 deletions
|
@ -733,7 +733,7 @@ fn canonicalize_opaque<'a>(
|
|||
.map(|(member, def)| (member, def.value))
|
||||
.collect(),
|
||||
});
|
||||
} else if ability.is_builtin_ability() {
|
||||
} else if ability.is_derivable_ability() {
|
||||
derived_abilities.push(Loc::at(region, ability));
|
||||
supported_abilities.push(OpaqueSupports::Derived(ability));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue