-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure error recovery does not misparse in the event of ambiguous syntax #861
Comments
@OmarTawfik this refers to the |
Here's more context about the underlying issue: It includes a delimited parser ( Now, since the expression parser will happily tack that recovered group onto the current accumulator, we end up with Because this syntax is generally ambiguous and is explicitly disambiguated by We already have a notion of |
Repeated
parser helper fails to propagate error when single child failsSeparated
parser helper fails to propagate error when single child fails
@Xanewok fixed the title. Thanks! |
Separated
parser helper fails to propagate error when single child fails
Changed the title to better reflect the underlying issue and what we're trying to fix in the short/mid term here. |
Based on #853 Closes #850 Closes #861 --------- Co-authored-by: OmarTawfik <[email protected]>
Originally posted by @OmarTawfik in #853 (comment)
The text was updated successfully, but these errors were encountered: