Restore parsing ! suffix

This reverts commit 52896d9fa65141df832989b326f526cbedf67341.

We actually still need this for when `!` follows a non-ident expr
This commit is contained in:
Agus Zubiaga 2024-10-14 21:39:59 -03:00
parent aeeaab4b99
commit 8bde68cc5e
No known key found for this signature in database

View file

@ -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
)),