mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Merge branch 'main' into inline-imports
This commit is contained in:
commit
a8a829aadd
201 changed files with 1128 additions and 1523 deletions
|
@ -650,6 +650,7 @@ impl IterTokens for Loc<Expr<'_>> {
|
|||
Expr::RecordAccess(rcd, _field) => Loc::at(region, *rcd).iter_tokens(arena),
|
||||
Expr::AccessorFunction(accessor) => Loc::at(region, accessor).iter_tokens(arena),
|
||||
Expr::TupleAccess(tup, _field) => Loc::at(region, *tup).iter_tokens(arena),
|
||||
Expr::TaskAwaitBang(inner) => Loc::at(region, *inner).iter_tokens(arena),
|
||||
Expr::List(lst) => lst.iter_tokens(arena),
|
||||
Expr::RecordUpdate { update, fields } => (update.iter_tokens(arena).into_iter())
|
||||
.chain(fields.iter().flat_map(|f| f.iter_tokens(arena)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue