mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +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
|
@ -2056,21 +2056,6 @@ impl From<&AliasVar> for OptAbleVar {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Opaque {
|
||||
pub region: Region,
|
||||
pub type_variables: Vec<Loc<AliasVar>>,
|
||||
|
||||
/// lambda set variables, e.g. the one annotating the arrow in
|
||||
/// a |c|-> b
|
||||
pub lambda_set_variables: Vec<LambdaSet>,
|
||||
pub recursion_variables: MutSet<Variable>,
|
||||
pub typ: Type,
|
||||
pub kind: AliasKind,
|
||||
|
||||
pub supports: Vec<OpaqueSupports>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub enum OpaqueSupports {
|
||||
Derived(Symbol),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue