mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-24 20:42:29 +00:00
Restore parsing !
suffix
This reverts commit 52896d9fa65141df832989b326f526cbedf67341. We actually still need this for when `!` follows a non-ident expr
This commit is contained in:
parent
aeeaab4b99
commit
8bde68cc5e
1 changed files with 3 additions and 0 deletions
|
@ -169,6 +169,9 @@ fn record_field_access_chain<'a>() -> impl Parser<'a, Vec<'a, Suffix<'a>>, EExpr
|
|||
)
|
||||
)
|
||||
),
|
||||
map(byte(b'!', EExpr::Access), |_| Suffix::TrySuffix(
|
||||
TryTarget::Task
|
||||
)),
|
||||
map(byte(b'?', EExpr::Access), |_| Suffix::TrySuffix(
|
||||
TryTarget::Result
|
||||
)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue