mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Initial working version of proper try
keyword
This commit is contained in:
parent
a7168a4ad6
commit
eedade8e81
33 changed files with 1036 additions and 521 deletions
|
@ -699,6 +699,7 @@ impl IterTokens for Loc<Expr<'_>> {
|
|||
.chain(e2.iter_tokens(arena))
|
||||
.collect_in(arena),
|
||||
Expr::Try => onetoken(Token::Keyword, region, arena),
|
||||
Expr::LowLevelTry(e1) => e1.iter_tokens(arena),
|
||||
Expr::Apply(e1, e2, _called_via) => (e1.iter_tokens(arena).into_iter())
|
||||
.chain(e2.iter_tokens(arena))
|
||||
.collect_in(arena),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue