mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
ast::HasAbility -> ast::ImplementsAbility
This commit is contained in:
parent
413ccb24ad
commit
9eb2180a0f
5 changed files with 36 additions and 32 deletions
|
@ -695,7 +695,7 @@ fn canonicalize_opaque<'a>(
|
|||
for has_ability in has_abilities.items {
|
||||
let region = has_ability.region;
|
||||
let (ability, opt_impls) = match has_ability.value.extract_spaces().item {
|
||||
ast::HasAbility::HasAbility { ability, impls } => (ability, impls),
|
||||
ast::ImplementsAbility::ImplementsAbility { ability, impls } => (ability, impls),
|
||||
_ => internal_error!("spaces not extracted"),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue