mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-23 14:35:12 +00:00
Report errors for duplicate bound abilities
This commit is contained in:
parent
231a72f2ee
commit
603160dae3
4 changed files with 56 additions and 6 deletions
|
@ -117,6 +117,10 @@ pub enum Problem {
|
|||
IllegalHasClause {
|
||||
region: Region,
|
||||
},
|
||||
DuplicateHasAbility {
|
||||
ability: Symbol,
|
||||
region: Region,
|
||||
},
|
||||
AbilityMemberMissingHasClause {
|
||||
member: Symbol,
|
||||
ability: Symbol,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue