mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Canonicalize ingested files directly instead of creating AST nodes
This commit is contained in:
parent
a832de79d7
commit
7efc7a4a3e
11 changed files with 146 additions and 121 deletions
|
@ -657,7 +657,6 @@ impl IterTokens for Loc<Expr<'_>> {
|
|||
Expr::Record(rcd) => rcd.iter_tokens(arena),
|
||||
Expr::Tuple(tup) => tup.iter_tokens(arena),
|
||||
Expr::RecordBuilder(rb) => rb.iter_tokens(arena),
|
||||
Expr::IngestedFile(_path, ty) => ty.iter_tokens(arena),
|
||||
Expr::Var { .. } => onetoken(Token::Variable, region, arena),
|
||||
Expr::Underscore(_) => onetoken(Token::Variable, region, arena),
|
||||
Expr::Crash => onetoken(Token::Keyword, region, arena),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue