mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Check complete ability implementations during canonicalization
This commit is contained in:
parent
37ab06b0a3
commit
7586a8a083
7 changed files with 275 additions and 30 deletions
|
@ -155,6 +155,16 @@ pub enum Problem {
|
|||
duplicate: Region,
|
||||
},
|
||||
NotAnAbility(Region),
|
||||
ImplementsNonRequired {
|
||||
region: Region,
|
||||
ability: Symbol,
|
||||
not_required: Vec<Symbol>,
|
||||
},
|
||||
DoesNotImplementAbility {
|
||||
region: Region,
|
||||
ability: Symbol,
|
||||
not_implemented: Vec<Symbol>,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue