mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Introduce proper type for TypeVar's, mark anything not a lowercase ident as malformed
This commit is contained in:
parent
a9c25563b2
commit
d43ad92789
65 changed files with 729 additions and 460 deletions
|
@ -790,7 +790,9 @@ impl IterTokens for Loc<Pattern<'_>> {
|
|||
Loc::at(region, *p).iter_tokens(arena)
|
||||
}
|
||||
Pattern::QualifiedIdentifier { .. } => onetoken(Token::Variable, region, arena),
|
||||
Pattern::Malformed(_) | Pattern::MalformedIdent(_, _) => bumpvec![in arena;],
|
||||
Pattern::Malformed(_) | Pattern::MalformedIdent(_, _) | Pattern::MalformedExpr(_) => {
|
||||
bumpvec![in arena;]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue