mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
collect and instantiate hidden variables
This commit is contained in:
parent
2c55fa5ec5
commit
f13c28fe7f
5 changed files with 59 additions and 19 deletions
|
@ -984,6 +984,10 @@ pub enum PatternCategory {
|
|||
pub struct Alias {
|
||||
pub region: Region,
|
||||
pub vars: Vec<Located<(Lowercase, Variable)>>,
|
||||
|
||||
/// hidden type variables, like the closure variable in `a -> b`
|
||||
pub hidden_variables: MutSet<Variable>,
|
||||
|
||||
pub uniqueness: Option<boolean_algebra::Bool>,
|
||||
pub typ: Type,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue