mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
has -> implements
This commit is contained in:
parent
e463ccf4a6
commit
afa5aaba94
2 changed files with 6 additions and 6 deletions
|
@ -1681,11 +1681,11 @@ impl<'a> Malformed for TypeDef<'a> {
|
|||
} => header.is_malformed() || typ.is_malformed() || derived.is_malformed(),
|
||||
TypeDef::Ability {
|
||||
header,
|
||||
loc_implements: loc_has,
|
||||
loc_implements,
|
||||
members,
|
||||
} => {
|
||||
header.is_malformed()
|
||||
|| loc_has.is_malformed()
|
||||
|| loc_implements.is_malformed()
|
||||
|| members.iter().any(|member| member.is_malformed())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue