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

fix: handle error recovery better for dedents in case a string start is possible #223

Merged

Conversation

amaanq
Copy link
Member

@amaanq amaanq commented Jun 30, 2023

I noticed this slight regression when running the tests in tree-sitter core - @maxbrunsfeld

This won't handle error recovery well for f-strings I think - which is what the inclusion of not dedenting in case string_start was valid was for anyways (they can be dedented and not count as a dedent)..

@maxbrunsfeld
Copy link
Contributor

Thanks!

@amaanq amaanq deleted the better-dedent-error-recovery branch September 2, 2024 09:03
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

Successfully merging this pull request may close these issues.

2 participants