Skip to content
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

Recovery needs to alter the layout stack #34

Open
natefaubion opened this issue Mar 2, 2022 · 0 comments
Open

Recovery needs to alter the layout stack #34

natefaubion opened this issue Mar 2, 2022 · 0 comments

Comments

@natefaubion
Copy link
Owner

Recovery is somewhat terrible right now, and may actually produce worse errors in some cases because it is not attempting to recover the layout stack, it's only eating tokens. If the error pertains to a delimiter that affects the layout stack (such as a missing closing paren), then lack of layout stack recovery effectively means any attempt to resume from a recovered parse will still fail because the layout context is essentially poisoned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant