mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-13 23:36:29 +00:00
First pass at canonicalizing and reporting syntactic abilities
This commit is contained in:
parent
d118e5afbc
commit
e672ce9ebd
7 changed files with 307 additions and 115 deletions
|
@ -130,14 +130,20 @@ pub enum Problem {
|
|||
},
|
||||
AbilityUsedAsType(Lowercase, Symbol, Region),
|
||||
NestedSpecialization(Symbol, Region),
|
||||
IllegalDerive(Region),
|
||||
ImplementationNotFound {
|
||||
ability: Symbol,
|
||||
member: Symbol,
|
||||
region: Region,
|
||||
},
|
||||
IllegalClaimedAbility(Region),
|
||||
NotAnAbilityMember {
|
||||
ability: Symbol,
|
||||
name: String,
|
||||
region: Region,
|
||||
},
|
||||
OptionalAbilityImpl {
|
||||
ability: Symbol,
|
||||
region: Region,
|
||||
},
|
||||
QualifiedAbilityImpl {
|
||||
region: Region,
|
||||
},
|
||||
AbilityImplNotIdent {
|
||||
region: Region,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue